1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-22 09:23:21 +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:
George Marshall 2023-08-28 16:01:05 -07:00 committed by GitHub
parent 66292330fe
commit 0cbd22d0e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,8 +7,8 @@ import {
import ZENDESK_URLS from '../../../../helpers/constants/zendesk-url';
import { useI18nContext } from '../../../../hooks/useI18nContext';
import {
BUTTON_SIZES,
BUTTON_VARIANT,
ButtonSize,
ButtonVariant,
Box,
Button,
Modal,
@ -88,11 +88,10 @@ export default function HoldToRevealModal({
</Text>,
<Button
key="hold-to-reveal-5"
variant={BUTTON_VARIANT.LINK}
size={BUTTON_SIZES.INHERIT}
variant={ButtonVariant.Link}
size={ButtonSize.Inherit}
href={ZENDESK_URLS.NON_CUSTODIAL_WALLET}
target="_blank"
rel="noopener noreferrer"
externalLink
>
{t('holdToRevealContent5')}
</Button>,