Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue generating the pipeline #20231

Merged
merged 1 commit into from
Jul 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions ui/pages/home/home.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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';
Expand All @@ -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,
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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')}
Expand All @@ -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')}
Expand All @@ -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])}
Expand All @@ -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
Expand Down Expand Up @@ -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>
Expand Down