Fix owned token accumulation UI bug in explorer (#11466)
This commit is contained in:
@ -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 });
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user