We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e63e63 commit 00d281cCopy full SHA for 00d281c
packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/swap/fetchBalancesForWallet.tsx
@@ -154,7 +154,7 @@ async function fetchBalancesForWallet({
154
const matching = sourceSupportedTokens[b.chainId]?.find(
155
(t) => t.address.toLowerCase() === b.tokenAddress.toLowerCase(),
156
);
157
- if (matching) {
+ if (matching && b.value > 0n) {
158
balances.push({
159
balance: b,
160
chain: getCachedChain(b.chainId),
0 commit comments