Fix owned token accumulation UI bug in explorer (#11466)

This commit is contained in:
Justin Starry
2020-08-08 15:34:59 +08:00
committed by GitHub
parent c7eba80836
commit 40656911a6

View File

@ -50,7 +50,7 @@ export function OwnedTokensCard({ pubkey }: { pubkey: PublicKey }) {
if (tokenInfo) {
tokenInfo.amount += token.amount;
} else {
mappedTokens.set(mintAddress, token);
mappedTokens.set(mintAddress, { ...token });
}
}