Skip to content

Commit

Permalink
fix: GasDetailItem invalid paddingStart prop
Browse files Browse the repository at this point in the history
  • Loading branch information
digiwand committed Nov 5, 2024
1 parent aaee4e7 commit dc6f0eb
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import classNames from 'classnames';

import { useSelector } from 'react-redux';
import {
Box,
Icon,
IconName,
IconSize,
Expand All @@ -30,7 +31,6 @@ import { useDraftTransactionWithTxParams } from '../../hooks/useDraftTransaction
import { useGasFeeContext } from '../../../../contexts/gasFee';
import { useI18nContext } from '../../../../hooks/useI18nContext';

import Box from '../../../../components/ui/box';
import LoadingHeartBeat from '../../../../components/ui/loading-heartbeat';
import EditGasFeeIcon from '../edit-gas-fee-icon/edit-gas-fee-icon';
import GasTiming from '../gas-timing/gas-timing.component';
Expand Down Expand Up @@ -194,10 +194,10 @@ const GasDetailsItem = ({
{t('editGasSubTextFeeLabel')}
</Text>
</Box>
<div
<Box
key="editGasSubTextFeeValue"
className="gas-details-item__currency-container"
paddingStart={1}
paddingInlineStart={1}
>
<LoadingHeartBeat estimateUsed={estimateUsed} />
<UserPreferencedCurrencyDisplay
Expand All @@ -215,7 +215,7 @@ const GasDetailsItem = ({
getMaxTransactionFeeTotal || draftHexMaximumTransactionFee
}
/>
</div>
</Box>
</Box>
</>
}
Expand Down

0 comments on commit dc6f0eb

Please sign in to comment.