From 8a4ded1cbb19e4bc7ac62d23ec51e74254c9bfe6 Mon Sep 17 00:00:00 2001 From: guanbinrui Date: Tue, 29 Jun 2021 18:35:12 +0800 Subject: [PATCH] fix: lint error --- packages/maskbook/src/plugins/ITO/UI/CompositionDialog.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/maskbook/src/plugins/ITO/UI/CompositionDialog.tsx b/packages/maskbook/src/plugins/ITO/UI/CompositionDialog.tsx index 70d6afeb11c9..a3aff0839eec 100644 --- a/packages/maskbook/src/plugins/ITO/UI/CompositionDialog.tsx +++ b/packages/maskbook/src/plugins/ITO/UI/CompositionDialog.tsx @@ -1,7 +1,10 @@ import { useCallback, useEffect, useState } from 'react' import Web3Utils from 'web3-utils' import { DialogContent } from '@material-ui/core' -import { formatBalance, usePortalShadowRoot, useChainId, useAccount, TransactionStateType } from '@dimensiondev/maskbook-shared' +import { + formatBalance, + usePortalShadowRoot, +} from '@dimensiondev/maskbook-shared' import { useI18N, useRemoteControlledDialog } from '../../../utils' import { InjectedDialog, InjectedDialogProps } from '../../../components/shared/InjectedDialog' import { ITO_MetaKey, MSG_DELIMITER } from '../constants' @@ -18,6 +21,7 @@ import { ConfirmDialog } from './ConfirmDialog' import { currentGasPriceSettings, currentGasNowSettings } from '../../Wallet/settings' import { useITO_ContractAddress } from '../contracts/useITO_ContractAddress' import { EthereumMessages } from '../../Ethereum/messages' +import { TransactionStateType, useAccount, useChainId } from '@dimensiondev/web3-shared' export enum ITOCreateFormPageStep { NewItoPage = 'new-ito',