Skip to content

Commit

Permalink
fix: brc20 query logic
Browse files Browse the repository at this point in the history
  • Loading branch information
alter-eggo committed Dec 25, 2024
1 parent 34b9287 commit d2021f9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ export function useGetBrc20TokensQuery({
console.log('Error fetching BRC-20 tokens:', error);
return [];
});
addressesWithoutTokens += brc20Tokens.filter(tokens => tokens.length === 0).length;
addressesWithoutTokens +=
brc20Tokens.filter(tokens => tokens.length === 0).length || addressesSimultaneousFetchLimit;

return {
addressesWithoutTokens,
Expand Down

0 comments on commit d2021f9

Please sign in to comment.