From 54f57826c4dfde55ff31834fdc2020d1be23e5a2 Mon Sep 17 00:00:00 2001 From: ryanml Date: Mon, 18 Oct 2021 09:28:56 -0700 Subject: [PATCH] Fixing invalid prop type for ActionableMessage (ImportToken) (#12377) --- ui/components/ui/actionable-message/actionable-message.js | 3 ++- ui/pages/import-token/import-token.component.js | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/components/ui/actionable-message/actionable-message.js b/ui/components/ui/actionable-message/actionable-message.js index 750852f31..5b2af114d 100644 --- a/ui/components/ui/actionable-message/actionable-message.js +++ b/ui/components/ui/actionable-message/actionable-message.js @@ -11,6 +11,7 @@ const CLASSNAME_WITH_RIGHT_BUTTON = 'actionable-message--with-right-button'; const typeHash = { warning: CLASSNAME_WARNING, danger: CLASSNAME_DANGER, + default: '', }; export default function ActionableMessage({ @@ -20,7 +21,7 @@ export default function ActionableMessage({ className = '', infoTooltipText = '', withRightButton = false, - type = false, + type = 'default', useIcon = false, iconFillColor = '', }) { diff --git a/ui/pages/import-token/import-token.component.js b/ui/pages/import-token/import-token.component.js index 3f50ba607..2abaf245b 100644 --- a/ui/pages/import-token/import-token.component.js +++ b/ui/pages/import-token/import-token.component.js @@ -406,7 +406,6 @@ class ImportToken extends Component { {this.context.t('enableFromSettings')} , ])} - type={false} withRightButton useIcon iconFillColor="#037DD6"