-
Notifications
You must be signed in to change notification settings - Fork 1.6k
chore: add wallet filter by namespace #4085
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
Conversation
🦋 Changeset detectedLatest commit: 94f788a The changes in this PR will be included in the next version bump. This PR includes changesets to release 20 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
12 Skipped Deployments
|
| wallet.chains?.some(chain => caipNetworkIds.includes(chain)) | ||
| ) | ||
|
|
||
| state.wallets = state.wallets.filter(wallet => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we clear the filtering on top if namespace is undefined?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And after filtering first time, how to remove filter as the state.wallets are filtered before, it doesn have all the wallets 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But isn't this reapplied every time the network specific button is clicked?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed the aproach to filter on fetch instead of here
Coverage Report
File Coverage
|
||||||||||||||||||||||||||||||||||||||||||||
arein
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add a unit test Rocky for regressions?
Description
Type of change
Checklist