1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00

Fixed issue generating the pipeline (#20231)

This commit is contained in:
Albert Olivé 2023-07-27 14:36:19 +02:00 committed by GitHub
parent 72b274d846
commit 68f5c578a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@ import React, { PureComponent } from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { Redirect, Route } from 'react-router-dom'; import { Redirect, Route } from 'react-router-dom';
import { import {
///: BEGIN:ONLY_INCLUDE_IN(build-main,build-mmi) ///: BEGIN:ONLY_INCLUDE_IN(build-main)
MetaMetricsContextProp, MetaMetricsContextProp,
///: END:ONLY_INCLUDE_IN ///: END:ONLY_INCLUDE_IN
MetaMetricsEventCategory, MetaMetricsEventCategory,
@ -27,15 +27,15 @@ import WhatsNewPopup from '../../components/app/whats-new-popup';
import ActionableMessage from '../../components/ui/actionable-message/actionable-message'; import ActionableMessage from '../../components/ui/actionable-message/actionable-message';
import { import {
FONT_WEIGHT, FontWeight,
DISPLAY, Display,
TextColor, TextColor,
TextVariant, TextVariant,
///: BEGIN:ONLY_INCLUDE_IN(build-main)
///: BEGIN:ONLY_INCLUDE_IN(build-main,build-mmi)
Size, Size,
///: END:ONLY_INCLUDE_IN
///: BEGIN:ONLY_INCLUDE_IN(build-main,build-mmi)
JustifyContent, JustifyContent,
Display,
///: END:ONLY_INCLUDE_IN ///: END:ONLY_INCLUDE_IN
} from '../../helpers/constants/design-system'; } from '../../helpers/constants/design-system';
import { SECOND } from '../../../shared/constants/time'; import { SECOND } from '../../../shared/constants/time';
@ -44,7 +44,7 @@ import {
ButtonIconSize, ButtonIconSize,
IconName, IconName,
Box, Box,
///: BEGIN:ONLY_INCLUDE_IN(build-main,build-mmi) ///: BEGIN:ONLY_INCLUDE_IN(build-main)
ButtonLink, ButtonLink,
///: END:ONLY_INCLUDE_IN ///: END:ONLY_INCLUDE_IN
Text, Text,
@ -72,7 +72,7 @@ import {
///: END:ONLY_INCLUDE_IN ///: END:ONLY_INCLUDE_IN
} from '../../helpers/constants/routes'; } from '../../helpers/constants/routes';
import ZENDESK_URLS from '../../helpers/constants/zendesk-url'; import ZENDESK_URLS from '../../helpers/constants/zendesk-url';
///: BEGIN:ONLY_INCLUDE_IN(build-main,build-mmi) ///: BEGIN:ONLY_INCLUDE_IN(build-main)
import { SUPPORT_LINK } from '../../../shared/lib/ui-utils'; import { SUPPORT_LINK } from '../../../shared/lib/ui-utils';
///: END:ONLY_INCLUDE_IN ///: END:ONLY_INCLUDE_IN
///: BEGIN:ONLY_INCLUDE_IN(build-beta) ///: BEGIN:ONLY_INCLUDE_IN(build-beta)
@ -461,7 +461,7 @@ export default class Home extends PureComponent {
autoHideTime={autoHideDelay} autoHideTime={autoHideDelay}
onAutoHide={onAutoHide} onAutoHide={onAutoHide}
message={ message={
<Box display={DISPLAY.INLINE_FLEX}> <Box display={Display.InlineFlex}>
<i className="fa fa-check-circle home__new-nft-notification-icon" /> <i className="fa fa-check-circle home__new-nft-notification-icon" />
<Text variant={TextVariant.bodySm} as="h6"> <Text variant={TextVariant.bodySm} as="h6">
{t('newNftAddedMessage')} {t('newNftAddedMessage')}
@ -483,7 +483,7 @@ export default class Home extends PureComponent {
autoHideTime={autoHideDelay} autoHideTime={autoHideDelay}
onAutoHide={onAutoHide} onAutoHide={onAutoHide}
message={ message={
<Box display={DISPLAY.INLINE_FLEX}> <Box display={Display.InlineFlex}>
<i className="fa fa-check-circle home__new-nft-notification-icon" /> <i className="fa fa-check-circle home__new-nft-notification-icon" />
<Text variant={TextVariant.bodySm} as="h6"> <Text variant={TextVariant.bodySm} as="h6">
{t('removeNftMessage')} {t('removeNftMessage')}
@ -503,7 +503,7 @@ export default class Home extends PureComponent {
type="success" type="success"
className="home__new-network-notification" className="home__new-network-notification"
message={ message={
<Box display={DISPLAY.INLINE_FLEX}> <Box display={Display.InlineFlex}>
<i className="fa fa-check-circle home__new-network-notification-icon" /> <i className="fa fa-check-circle home__new-network-notification-icon" />
<Text variant={TextVariant.bodySm} as="h6"> <Text variant={TextVariant.bodySm} as="h6">
{t('newNetworkAdded', [newNetworkAddedName])} {t('newNetworkAdded', [newNetworkAddedName])}
@ -524,7 +524,7 @@ export default class Home extends PureComponent {
type="success" type="success"
className="home__new-tokens-imported-notification" className="home__new-tokens-imported-notification"
message={ message={
<Box display={DISPLAY.INLINE_FLEX}> <Box display={Display.InlineFlex}>
<i className="fa fa-check-circle home__new-tokens-imported-notification-icon" /> <i className="fa fa-check-circle home__new-tokens-imported-notification-icon" />
<Box> <Box>
<Text <Text
@ -639,7 +639,7 @@ export default class Home extends PureComponent {
marginRight={9} marginRight={9}
marginLeft={9} marginLeft={9}
marginBottom={0} marginBottom={0}
fontWeight={FONT_WEIGHT.BOLD} fontWeight={FontWeight.Bold}
> >
{t('networkAddedSuccessfully')} {t('networkAddedSuccessfully')}
</Text> </Text>