mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix message
PropType of ActionableMessage
(#9653)
The `message` prop of `ActionableMessage` had a PropType of `string`, but it was being passed a `node`. This was resulting in a PropType error in the console on the view quote page. The PropType has been changed to `node`, and the error is now gone.
This commit is contained in:
parent
d43738448c
commit
7f1bbbc9a3
@ -38,7 +38,7 @@ export default function ActionableMessage ({
|
||||
}
|
||||
|
||||
ActionableMessage.propTypes = {
|
||||
message: PropTypes.string.isRequired,
|
||||
message: PropTypes.node.isRequired,
|
||||
primaryAction: PropTypes.shape({
|
||||
label: PropTypes.string,
|
||||
onClick: PropTypes.func,
|
||||
|
Loading…
Reference in New Issue
Block a user