mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Replace deprecated Display constant with enum in slippage-buttons.js (#19560)
This commit is contained in:
parent
639de748fb
commit
84135f5d4c
@ -11,7 +11,7 @@ import {
|
|||||||
TextVariant,
|
TextVariant,
|
||||||
FontWeight,
|
FontWeight,
|
||||||
AlignItems,
|
AlignItems,
|
||||||
DISPLAY,
|
Display,
|
||||||
} from '../../../helpers/constants/design-system';
|
} from '../../../helpers/constants/design-system';
|
||||||
import { getTranslatedStxErrorMessage } from '../swaps.util';
|
import { getTranslatedStxErrorMessage } from '../swaps.util';
|
||||||
import { Slippage } from '../../../../shared/constants/swaps';
|
import { Slippage } from '../../../../shared/constants/swaps';
|
||||||
@ -201,9 +201,9 @@ export default function SlippageButtons({
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{smartTransactionsEnabled && (
|
{smartTransactionsEnabled && (
|
||||||
<Box marginTop={2} display={DISPLAY.FLEX}>
|
<Box marginTop={2} display={Display.Flex}>
|
||||||
<Box
|
<Box
|
||||||
display={DISPLAY.FLEX}
|
display={Display.Flex}
|
||||||
alignItems={AlignItems.center}
|
alignItems={AlignItems.center}
|
||||||
paddingRight={3}
|
paddingRight={3}
|
||||||
>
|
>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user