[x] Replicate markets fix in my position (use vault selection as guide, since we need to grab market data)
[x] Markets list data is right aligned, my positions is centered: please make it match markets
[x] Blur the inactive providers in the provider list (in markets, vault selection, positions, etc)
[x] Clean Vault.tsx.
[x] Use the new AprValue component to show deposits as well. there’s a lot of duplicated code
[x] Market list: while loading the markets, some rows (DAI markets I think) reposition themselves repeatedly.
[x] Markets -> choose DAI vault with dForce as active provider, select it. Thanks to the first item in the list, the vault will be properly selected, but the selection glitches (happens when there’s no preselection as well)
[x] Sort markets: update sortBy function treating base as negative number, reward as positive and doing reward - base. Descending by default, of course.
[x] Test vault selection. It was incomplete, so we need to test a bit more.
[x] Markets -> choose DAI vault with Aave as active provider, select it. all vaults shows only 1 but must be 2
[x] Show resulted apr depends on type and positiveness
Vault.tsx
.AprValue
component to show deposits as well. there’s a lot of duplicated codeDAI
markets I think) reposition themselves repeatedly.DAI
vault withdForce
as active provider, select it. Thanks to the first item in the list, the vault will be properly selected, but the selection glitches (happens when there’s no preselection as well)sortBy
function treatingbase
as negative number,reward
as positive and doingreward - base
. Descending by default, of course.DAI
vault withAave
as active provider, select it. all vaults shows only 1 but must be 2