-
Notifications
You must be signed in to change notification settings - Fork 543
[SDK] Filter out zero-value token balances in swap UI #7244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SDK] Filter out zero-value token balances in swap UI #7244
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
8380a59
into
_SDK_Include_native_tokens_in_Insight.getOwnedTokens
size-limit report 📦
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## _SDK_Include_native_tokens_in_Insight.getOwnedTokens #7244 +/- ##
========================================================================================
- Coverage 55.60% 55.59% -0.01%
========================================================================================
Files 908 908
Lines 58553 58553
Branches 4133 4133
========================================================================================
- Hits 32556 32555 -1
Misses 25892 25892
- Partials 105 106 +1
🚀 New features to boost your workflow:
|
PR-Codex overview
This PR enhances the balance fetching logic by adding a condition to ensure that only balances with a value greater than zero are included.
Detailed summary
if (matching)
toif (matching && b.value > 0n)
infetchBalancesForWallet.tsx
.b.value
are pushed into thebalances
array.