Skip to content

Commit ddfbe83

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

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 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,8 @@ const EditGasFeePopover = () => {
5960
{balanceError && (
6061
<BannerAlert
6162
severity={BannerAlertSeverity.Danger}
62-
description={t('insufficientFunds')}
63-
marginBottom={6}
63+
description={t(INSUFFICIENT_FUNDS_ERROR_KEY)}
64+
marginBottom={1}
6465
/>
6566
)}
6667
<div className="edit-gas-fee-popover__content__header">

0 commit comments

Comments
 (0)