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 = {
|
const typeHash = {
|
||||||
warning: CLASSNAME_WARNING,
|
warning: CLASSNAME_WARNING,
|
||||||
danger: CLASSNAME_DANGER,
|
danger: CLASSNAME_DANGER,
|
||||||
|
default: '',
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function ActionableMessage({
|
export default function ActionableMessage({
|
||||||
@ -20,7 +21,7 @@ export default function ActionableMessage({
|
|||||||
className = '',
|
className = '',
|
||||||
infoTooltipText = '',
|
infoTooltipText = '',
|
||||||
withRightButton = false,
|
withRightButton = false,
|
||||||
type = false,
|
type = 'default',
|
||||||
useIcon = false,
|
useIcon = false,
|
||||||
iconFillColor = '',
|
iconFillColor = '',
|
||||||
}) {
|
}) {
|
||||||
|
@ -406,7 +406,6 @@ class ImportToken extends Component {
|
|||||||
{this.context.t('enableFromSettings')}
|
{this.context.t('enableFromSettings')}
|
||||||
</Button>,
|
</Button>,
|
||||||
])}
|
])}
|
||||||
type={false}
|
|
||||||
withRightButton
|
withRightButton
|
||||||
useIcon
|
useIcon
|
||||||
iconFillColor="#037DD6"
|
iconFillColor="#037DD6"
|
||||||
|
Loading…
Reference in New Issue
Block a user