Skip to content

Commit 14ffb4b

Browse files
chore: use translation constant and adjust margin
1 parent af597c5 commit 14ffb4b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ui/pages/confirmations/components/edit-gas-fee-popover/edit-gas-fee-popover.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
TextColor,
1414
TextVariant,
1515
} from '../../../../helpers/constants/design-system';
16+
import { INSUFFICIENT_FUNDS_ERROR_KEY } from '../../../../helpers/constants/error-keys';
1617
import { useGasFeeContext } from '../../../../contexts/gasFee';
1718
import AppLoadingSpinner from '../../../../components/app/app-loading-spinner';
1819
import ZENDESK_URLS from '../../../../helpers/constants/zendesk-url';
@@ -59,8 +60,9 @@ const EditGasFeePopover = () => {
5960
{balanceError && (
6061
<BannerAlert
6162
severity={BannerAlertSeverity.Danger}
62-
description={t('insufficientFunds')}
63-
marginBottom={6}
63+
g
64+
description={INSUFFICIENT_FUNDS_ERROR_KEY}
65+
marginBottom={1}
6466
/>
6567
)}
6668
<div className="edit-gas-fee-popover__content__header">

0 commit comments

Comments
 (0)