From da8edec4a2be447d799257b13625c74ba9d2fbdf Mon Sep 17 00:00:00 2001 From: Joel Jeremy Marquez Date: Mon, 9 Sep 2024 13:58:06 -0700 Subject: [PATCH] Revert usePreviewTransactions --- packages/desktop-client/src/hooks/usePreviewTransactions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/desktop-client/src/hooks/usePreviewTransactions.ts b/packages/desktop-client/src/hooks/usePreviewTransactions.ts index 43dbf5aac59..786e369c311 100644 --- a/packages/desktop-client/src/hooks/usePreviewTransactions.ts +++ b/packages/desktop-client/src/hooks/usePreviewTransactions.ts @@ -53,7 +53,7 @@ export function usePreviewTransactions( })), })); setPreviewTransactions(ungroupTransactions(withDefaults)); - collapseTransactions?.(withDefaults.map(t => t.id)); + collapseTransactions(withDefaults.map(t => t.id)); }); }