Fix owned token accumulation UI bug in explorer (#11466)
This commit is contained in:
parent
c7eba80836
commit
40656911a6
|
@ -50,7 +50,7 @@ export function OwnedTokensCard({ pubkey }: { pubkey: PublicKey }) {
|
||||||
if (tokenInfo) {
|
if (tokenInfo) {
|
||||||
tokenInfo.amount += token.amount;
|
tokenInfo.amount += token.amount;
|
||||||
} else {
|
} else {
|
||||||
mappedTokens.set(mintAddress, token);
|
mappedTokens.set(mintAddress, { ...token });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue