mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
Fixing invalid prop type for ActionableMessage (ImportToken) (#12377)
This commit is contained in:
parent
84e0547ac0
commit
54f57826c4
@ -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 = '',
|
||||
}) {
|
||||
|
@ -406,7 +406,6 @@ class ImportToken extends Component {
|
||||
{this.context.t('enableFromSettings')}
|
||||
</Button>,
|
||||
])}
|
||||
type={false}
|
||||
withRightButton
|
||||
useIcon
|
||||
iconFillColor="#037DD6"
|
||||
|
Loading…
Reference in New Issue
Block a user