From 37e4075445a8a63574840936b914cefd65e460e8 Mon Sep 17 00:00:00 2001 From: Rory Abraham <47436092+roryabraham@users.noreply.github.com> Date: Thu, 1 Aug 2024 11:53:58 -0700 Subject: [PATCH] Merge pull request #46681 from Expensify/georgia-expense Deploy Blocker Fix - Update Expense Preview (cherry picked from commit 84ed81c45aa4a46d61e2868a0f1030ad9be0f90f) --- src/components/ReportActionItem/ReportPreview.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ReportActionItem/ReportPreview.tsx b/src/components/ReportActionItem/ReportPreview.tsx index b06ce0c33f2b..44ef758c2d78 100644 --- a/src/components/ReportActionItem/ReportPreview.tsx +++ b/src/components/ReportActionItem/ReportPreview.tsx @@ -122,7 +122,7 @@ function ReportPreview({ const {translate} = useLocalize(); const {canUseViolations} = usePermissions(); const {isOffline} = useNetwork(); - const allTransactions = useMemo(() => TransactionUtils.getAllReportTransactions(iouReportID), [iouReportID]); + const allTransactions = useMemo(() => TransactionUtils.getAllReportTransactions(iouReportID, transactions), [iouReportID, transactions]); const {hasMissingSmartscanFields, areAllRequestsBeingSmartScanned, hasOnlyTransactionsWithPendingRoutes, hasNonReimbursableTransactions} = useMemo( () => ({