1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00

Replace deprecated Display constant with enum in slippage-buttons.js (#19560)

This commit is contained in:
Ujwal Kumar 2023-06-21 02:26:05 +05:30 committed by GitHub
parent 639de748fb
commit 84135f5d4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ import {
TextVariant,
FontWeight,
AlignItems,
DISPLAY,
Display,
} from '../../../helpers/constants/design-system';
import { getTranslatedStxErrorMessage } from '../swaps.util';
import { Slippage } from '../../../../shared/constants/swaps';
@ -201,9 +201,9 @@ export default function SlippageButtons({
</div>
)}
{smartTransactionsEnabled && (
<Box marginTop={2} display={DISPLAY.FLEX}>
<Box marginTop={2} display={Display.Flex}>
<Box
display={DISPLAY.FLEX}
display={Display.Flex}
alignItems={AlignItems.center}
paddingRight={3}
>