From e13327ece726992f2f9a326cedecf229bd6536a7 Mon Sep 17 00:00:00 2001 From: Sergey Zhuravlev Date: Tue, 24 Dec 2024 08:16:40 +0100 Subject: [PATCH] fix: pv creation fix (#2889) --- src/renderer/pages/Onboarding/Vault/ManageVault/ManageVault.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/pages/Onboarding/Vault/ManageVault/ManageVault.tsx b/src/renderer/pages/Onboarding/Vault/ManageVault/ManageVault.tsx index e3dd549cb..90039bc76 100644 --- a/src/renderer/pages/Onboarding/Vault/ManageVault/ManageVault.tsx +++ b/src/renderer/pages/Onboarding/Vault/ManageVault/ManageVault.tsx @@ -87,7 +87,7 @@ export const ManageVault = ({ seedInfo, onBack, onClose, onComplete }: Props) => useEffect(() => { const chains = chainsService.getChainsData({ sort: true }); - const chainsMap = dictionary(chains, 'chainId', [] as (ChainAccount | ShardAccount[])[]); + const chainsMap = dictionary(chains, 'chainId', () => [] as (ChainAccount | ShardAccount[])[]); for (const account of keysGroups) { const chainId = accountUtils.isAccountWithShards(account) ? account[0].chainId : account.chainId;