Skip to content

Commit

Permalink
Replace deprecated Display constant with enum in slippage-buttons.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ujwalkumar1995 committed Jun 11, 2023
1 parent f77b1f6 commit 710b4e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/pages/swaps/slippage-buttons/slippage-buttons.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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}
>
Expand Down

0 comments on commit 710b4e0

Please sign in to comment.