From b40b4c623985d430119043f57311d76e37576860 Mon Sep 17 00:00:00 2001 From: rohit kerkar <129620973+rohiiittttt@users.noreply.github.com> Date: Tue, 6 Jun 2023 14:20:45 +0530 Subject: [PATCH] replacing depricated constants (#19447) --- ui/components/app/add-network/add-network.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ui/components/app/add-network/add-network.js b/ui/components/app/add-network/add-network.js index d0eca654b..fb1184122 100644 --- a/ui/components/app/add-network/add-network.js +++ b/ui/components/app/add-network/add-network.js @@ -6,8 +6,8 @@ import { I18nContext } from '../../../contexts/i18n'; import Box from '../../ui/box'; import { AlignItems, - DISPLAY, - FLEX_DIRECTION, + Display, + FlexDirection, TextVariant, JustifyContent, BorderRadius, @@ -88,8 +88,8 @@ const AddNetwork = () => { marginTop={4} marginRight={6} marginLeft={6} - display={DISPLAY.FLEX} - flexDirection={FLEX_DIRECTION.ROW} + display={Display.Flex} + flexDirection={FlexDirection.Row} backgroundColor={BackgroundColor.backgroundAlternative} > @@ -135,9 +135,9 @@ const AddNetwork = () => { {getEnvironmentType() === ENVIRONMENT_TYPE_FULLSCREEN && ( { {notExistingNetworkConfigurations.map((item, index) => ( - + {