Snowball-Finance/app-v2

When a wallet's pairs are retrieved, entered filters are invisibly reset

Closed this issue · 0 comments

Tested on main and last dev build
On the compound and earn screen, the pairs can sometimes take quite a while to load.
It is possible to set filters on the list of pairs, before the wallets deposited pairs are retrieved causes them to be selected but not applied:

image

Steps to recreate:

  1. Navigate to compound & earn tab
  2. Type into pairs search filter (e.g. WBTC)
  3. <>
    => List is sorted with wallet pairs at top (i.e. the LPs that the user has entered), and any selected filters are not applied.

Either we should be clearing any set filters upon wallet pairs retrieved
-or-
We should be reapplying filters after pairs are retrieved