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) {
|
if (tokenInfo) {
|
||||||
tokenInfo.amount += token.amount;
|
tokenInfo.amount += token.amount;
|
||||||
} else {
|
} else {
|
||||||
mappedTokens.set(mintAddress, token);
|
mappedTokens.set(mintAddress, { ...token });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user