From 7f1bbbc9a3a99027eb36fde103b87932d50538ad Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Tue, 20 Oct 2020 10:36:44 -0230 Subject: [PATCH] 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. --- ui/app/pages/swaps/actionable-message/actionable-message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/pages/swaps/actionable-message/actionable-message.js b/ui/app/pages/swaps/actionable-message/actionable-message.js index 84cade2ec..9805914d8 100644 --- a/ui/app/pages/swaps/actionable-message/actionable-message.js +++ b/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,