mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-25 11:28:51 +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,
|
||||
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}
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user