mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
replacing depricated constants (#19447)
This commit is contained in:
parent
b64aa7f958
commit
b40b4c6239
@ -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}
|
||||
>
|
||||
<Box marginRight={4}>
|
||||
@ -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}
|
||||
@ -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
|
||||
@ -213,7 +213,7 @@ const AddNetwork = () => {
|
||||
</Box>
|
||||
</Box>
|
||||
<Box
|
||||
display={DISPLAY.FLEX}
|
||||
display={Display.Flex}
|
||||
alignItems={AlignItems.center}
|
||||
marginLeft={1}
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user