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.
feature/default_network_editable
Mark Stacey 4 years ago committed by GitHub
parent d43738448c
commit 7f1bbbc9a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ui/app/pages/swaps/actionable-message/actionable-message.js

@ -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…
Cancel
Save