From 656ef245117ff791431065235c87dbd795a1ee8d Mon Sep 17 00:00:00 2001 From: adescoteaux1 Date: Thu, 10 Apr 2025 23:37:42 -0400 Subject: [PATCH] filter applys to recommended --- frontend/src/context/TransactionContext.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/context/TransactionContext.tsx b/frontend/src/context/TransactionContext.tsx index f381d18c..a3ca3a7e 100644 --- a/frontend/src/context/TransactionContext.tsx +++ b/frontend/src/context/TransactionContext.tsx @@ -143,6 +143,9 @@ export function TransactionProvider({ children }: { children: ReactNode }) { fetchTableData(activePage); } // ignoring activePage in this dependency array since we don't need to refetch on page change + if (activePage === "unreconciled") { + fetchTableData("recommended"); + } // eslint-disable-next-line react-hooks/exhaustive-deps }, [user, filters, fetchTableData]);