diff --git a/packages/page-accounts/src/Accounts/index.tsx b/packages/page-accounts/src/Accounts/index.tsx index 530e5a96ec..8e8c35a498 100644 --- a/packages/page-accounts/src/Accounts/index.tsx +++ b/packages/page-accounts/src/Accounts/index.tsx @@ -17,7 +17,9 @@ import { settings } from '@polkadot/ui-settings'; import { BN_ZERO, isFunction } from '@polkadot/util'; import CreateModal from '../modals/Create.js'; +import ExportAll from '../modals/ExportAll.js'; import ImportModal from '../modals/Import.js'; +import ImportAll from '../modals/ImportAll.js'; import Ledger from '../modals/Ledger.js'; import Local from '../modals/LocalAdd.js'; import Multisig from '../modals/MultisigCreate.js'; @@ -104,6 +106,8 @@ function Overview ({ className = '', onStatusChange }: Props): React.ReactElemen const [isProxyOpen, toggleProxy] = useToggle(); const [isLocalOpen, toggleLocal] = useToggle(); const [isQrOpen, toggleQr] = useToggle(); + const [isExportAll, toggleExportAll] = useToggle(); + const [isImportAll, toggleImportAll] = useToggle(); const [favorites, toggleFavorite] = useFavorites(STORE_FAVS); const [balances, setBalances] = useState({ accounts: {} }); const [filterOn, setFilter] = useState(''); @@ -318,6 +322,19 @@ function Overview ({ className = '', onStatusChange }: Props): React.ReactElemen onStatusChange={onStatusChange} /> )} + {isExportAll && ( + + )} + {isImportAll && ( + + )} @@ -360,6 +377,16 @@ function Overview ({ className = '', onStatusChange }: Props): React.ReactElemen /> )} +