From 178623513b8c12a0d1cc7ef50e6e1887741d49e9 Mon Sep 17 00:00:00 2001 From: NidhiKJha Date: Mon, 9 Sep 2024 03:57:01 +0100 Subject: [PATCH] lint fix --- .../app/metamask-template-renderer/safe-component-list.js | 8 ++++++-- .../confirmation/templates/add-ethereum-chain.js | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ui/components/app/metamask-template-renderer/safe-component-list.js b/ui/components/app/metamask-template-renderer/safe-component-list.js index b4a677e91aac..40932c2fbb4a 100644 --- a/ui/components/app/metamask-template-renderer/safe-component-list.js +++ b/ui/components/app/metamask-template-renderer/safe-component-list.js @@ -12,7 +12,12 @@ import TextField from '../../ui/text-field'; import ConfirmationNetworkSwitch from '../../../pages/confirmations/confirmation/components/confirmation-network-switch'; import UrlIcon from '../../ui/url-icon'; import Tooltip from '../../ui/tooltip/tooltip'; -import { AvatarIcon, FormTextField, Text } from '../../component-library'; +import { + AvatarIcon, + FormTextField, + Text, + BannerAlert, +} from '../../component-library'; import ActionableMessage from '../../ui/actionable-message/actionable-message'; import { AccountListItem } from '../../multichain'; import { @@ -34,7 +39,6 @@ import { SnapUIForm } from '../snaps/snap-ui-form'; import { SnapUIButton } from '../snaps/snap-ui-button'; import { SnapUIDropdown } from '../snaps/snap-ui-dropdown'; import { SnapUIRadioGroup } from '../snaps/snap-ui-radio-group'; -import { BannerAlert } from '../../component-library'; import { SnapUICheckbox } from '../snaps/snap-ui-checkbox'; import { SnapUITooltip } from '../snaps/snap-ui-tooltip'; import { SnapUICard } from '../snaps/snap-ui-card'; diff --git a/ui/pages/confirmations/confirmation/templates/add-ethereum-chain.js b/ui/pages/confirmations/confirmation/templates/add-ethereum-chain.js index c04404a2afa9..656d016f0a34 100644 --- a/ui/pages/confirmations/confirmation/templates/add-ethereum-chain.js +++ b/ui/pages/confirmations/confirmation/templates/add-ethereum-chain.js @@ -18,7 +18,7 @@ import { import { DEFAULT_ROUTE } from '../../../../helpers/constants/routes'; import ZENDESK_URLS from '../../../../helpers/constants/zendesk-url'; import { jsonRpcRequest } from '../../../../../shared/modules/rpc.utils'; -import { BannerAlertSeverity } from '../../../../components/component-library/index'; +import { BannerAlertSeverity } from '../../../../components/component-library'; import { isValidASCIIURL, toPunycodeURL } from '../../utils/confirm'; const UNRECOGNIZED_CHAIN = {