mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
Fixing linting issue caused by bad merge of HoldToRevealModal and the Button component library component TS migration (#20634)
This commit is contained in:
parent
66292330fe
commit
0cbd22d0e4
@ -7,8 +7,8 @@ import {
|
|||||||
import ZENDESK_URLS from '../../../../helpers/constants/zendesk-url';
|
import ZENDESK_URLS from '../../../../helpers/constants/zendesk-url';
|
||||||
import { useI18nContext } from '../../../../hooks/useI18nContext';
|
import { useI18nContext } from '../../../../hooks/useI18nContext';
|
||||||
import {
|
import {
|
||||||
BUTTON_SIZES,
|
ButtonSize,
|
||||||
BUTTON_VARIANT,
|
ButtonVariant,
|
||||||
Box,
|
Box,
|
||||||
Button,
|
Button,
|
||||||
Modal,
|
Modal,
|
||||||
@ -88,11 +88,10 @@ export default function HoldToRevealModal({
|
|||||||
</Text>,
|
</Text>,
|
||||||
<Button
|
<Button
|
||||||
key="hold-to-reveal-5"
|
key="hold-to-reveal-5"
|
||||||
variant={BUTTON_VARIANT.LINK}
|
variant={ButtonVariant.Link}
|
||||||
size={BUTTON_SIZES.INHERIT}
|
size={ButtonSize.Inherit}
|
||||||
href={ZENDESK_URLS.NON_CUSTODIAL_WALLET}
|
href={ZENDESK_URLS.NON_CUSTODIAL_WALLET}
|
||||||
target="_blank"
|
externalLink
|
||||||
rel="noopener noreferrer"
|
|
||||||
>
|
>
|
||||||
{t('holdToRevealContent5')}
|
{t('holdToRevealContent5')}
|
||||||
</Button>,
|
</Button>,
|
||||||
|
Loading…
Reference in New Issue
Block a user