Closed brozorec closed 1 year ago
Ideas for further improvements:
store
to use here instead of passing the whole store object
export const useBorrow = create<BorrowStore>()(
persist(devtools(store, { ... }))
);
Use typings similar to "auth.store"
LendingProviderDetails
in favor of theLendingProviderWithFinancials
sdk.getBorrowingVaultsFor
to usebatchLoad
in order to limit the number of requestsVaultsMenu
as we don't use it anymore as it was intended initiallyupdateAllProviders
from the store because we don't need all providers for the available vaults anymore