From e7adf7ac22d9df734647dd6bb74613ee1beaa89e Mon Sep 17 00:00:00 2001 From: Suraj Jadhav <31582237+surajgjadhav@users.noreply.github.com> Date: Thu, 8 Jun 2023 04:49:32 +0530 Subject: [PATCH] issue-18714: Replaced deprecated constants with enum in confirmation-warning-modal.js (#19477) --- .../confirmation-warning-modal.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ui/components/app/confirmation-warning-modal/confirmation-warning-modal.js b/ui/components/app/confirmation-warning-modal/confirmation-warning-modal.js index 781d091ba..79b53a435 100644 --- a/ui/components/app/confirmation-warning-modal/confirmation-warning-modal.js +++ b/ui/components/app/confirmation-warning-modal/confirmation-warning-modal.js @@ -6,9 +6,9 @@ import Popover from '../../ui/popover'; import Box from '../../ui/box'; import Button from '../../ui/button'; import { - DISPLAY, - FLEX_DIRECTION, - FONT_WEIGHT, + Display, + FlexDirection, + FontWeight, JustifyContent, TextVariant, AlignItems, @@ -24,8 +24,8 @@ const ConfirmationWarningModal = ({ onSubmit, onCancel }) => { className="confirmation-warning-modal__content" footer={ @@ -47,8 +47,8 @@ const ConfirmationWarningModal = ({ onSubmit, onCancel }) => { } > { {t('addEthereumChainWarningModalTitle')}