1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00

Fixing invalid prop type for ActionableMessage (ImportToken) (#12377)

This commit is contained in:
ryanml 2021-10-18 09:28:56 -07:00 committed by GitHub
parent 84e0547ac0
commit 54f57826c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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 = '',
}) {

View File

@ -406,7 +406,6 @@ class ImportToken extends Component {
{this.context.t('enableFromSettings')}
</Button>,
])}
type={false}
withRightButton
useIcon
iconFillColor="#037DD6"