Skip to content

Open source personal finance application

perf: remove redundant walletsIds from getTotalOfTrnsIds

Ilya Komichevd6e0c6eb944b
diff --git a/app/components/amount/useAmount.ts b/app/components/amount/useAmount.ts
index eec816f0..4b31e057 100644
--- a/app/components/amount/useAmount.ts
+++ b/app/components/amount/useAmount.ts
@@ -42,7 +42,6 @@ export function useAmount() {
rates: currenciesStore.rates,
trnsIds,
trnsItems: trnsStore.items ?? {},
- walletsIds: Object.keys(walletsStore.items ?? {}),
walletsItems: walletsStore.items ?? {},
})
}