mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
4197ff7295
The `InfoTooltip` component had a `contentText` prop with a PropType of `string` that was being passed a `node` as of #9614. This resulted in a PropType error. The `contentText` prop was being passed directly to `Tooltip` component as the prop `html`, which has a PropType of `node`. A string is a valid `node` type, which is why this worked before. The `contentText` prop is now of type `node`, and the error no longer appears. |
||
---|---|---|
.. | ||
components | ||
contexts | ||
css | ||
ducks | ||
helpers | ||
hooks | ||
pages | ||
selectors | ||
store |