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