Skip to content

Commit

Permalink
replacing depricated constants (#19447)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohiiittttt authored Jun 6, 2023
1 parent b64aa7f commit b40b4c6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions ui/components/app/add-network/add-network.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import { I18nContext } from '../../../contexts/i18n';
import Box from '../../ui/box';
import {
AlignItems,
DISPLAY,
FLEX_DIRECTION,
Display,
FlexDirection,
TextVariant,
JustifyContent,
BorderRadius,
Expand Down Expand Up @@ -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}
>
<Box marginRight={4}>
Expand Down Expand Up @@ -135,9 +135,9 @@ const AddNetwork = () => {
<Box className="add-network__networks-container">
{getEnvironmentType() === ENVIRONMENT_TYPE_FULLSCREEN && (
<Box
display={DISPLAY.FLEX}
display={Display.Flex}
alignItems={AlignItems.center}
flexDirection={FLEX_DIRECTION.ROW}
flexDirection={FlexDirection.Row}
marginTop={7}
marginBottom={4}
paddingBottom={2}
Expand Down Expand Up @@ -186,13 +186,13 @@ const AddNetwork = () => {
{notExistingNetworkConfigurations.map((item, index) => (
<Box
key={index}
display={DISPLAY.FLEX}
display={Display.Flex}
alignItems={AlignItems.center}
justifyContent={JustifyContent.spaceBetween}
marginBottom={6}
className="add-network__list-of-networks"
>
<Box display={DISPLAY.FLEX} alignItems={AlignItems.center}>
<Box display={Display.Flex} alignItems={AlignItems.center}>
<Box>
<IconBorder size={24}>
<IconWithFallback
Expand All @@ -213,7 +213,7 @@ const AddNetwork = () => {
</Box>
</Box>
<Box
display={DISPLAY.FLEX}
display={Display.Flex}
alignItems={AlignItems.center}
marginLeft={1}
>
Expand Down

0 comments on commit b40b4c6

Please sign in to comment.