Skip to content

Commit

Permalink
fix: deep copy accounts metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
greatertomi committed Feb 10, 2025
1 parent a3eb611 commit 04c2f82
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ const getStandardAccountsInitValues = (accounts: Bip32WalletAccount<Wallet.Accou
.map((account) => ({
value: {
accountIndex: account.accountIndex,
metadata: account.metadata
metadata: {
...account.metadata,
name: account.metadata.name
}
},
hasError: false
}));
Expand Down

0 comments on commit 04c2f82

Please sign in to comment.