Skip to content

Commit

Permalink
fix: pv creation fix (#2889)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnthecat authored Dec 24, 2024
1 parent 2c4fce1 commit e13327e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e13327e

Please sign in to comment.