diff --git a/src/network/cardano/api/positions/positions.ts b/src/network/cardano/api/positions/positions.ts index 42d932d91..9b1080fc5 100644 --- a/src/network/cardano/api/positions/positions.ts +++ b/src/network/cardano/api/positions/positions.ts @@ -1,8 +1,6 @@ import { combineLatest, debounceTime, - filter, - first, map, publishReplay, refCount, @@ -18,7 +16,6 @@ import { unverifiedAmmPools$, } from '../ammPools/ammPools'; import { lpBalance$ } from '../balance/lpBalance'; -import { networkAssetBalance$ } from '../balance/networkAssetBalance.ts'; import { networkContext$ } from '../networkContext/networkContext'; export const positions$ = combineLatest([ @@ -30,11 +27,7 @@ export const positions$ = combineLatest([ return allAmmPools$; }), ), - networkAssetBalance$.pipe( - filter(Boolean), - first(), - switchMap(() => lpBalance$.pipe(startWith(new Balance([])))), - ), + lpBalance$.pipe(startWith(new Balance([]))), networkContext$, ]).pipe( debounceTime(200),