From facb5b3be759b9e49bfcad0a9a20b150d51dafe9 Mon Sep 17 00:00:00 2001 From: Alex Beaman Date: Fri, 24 Jan 2025 16:28:16 +0200 Subject: [PATCH] Merge pull request #55712 from callstack-internal/fix/scroll-when-going-back-to-report [CP Staging] fix: partial scroll when returning from expense thread (cherry picked from commit 64db9ae1ad91e68185c89065f7f342644be4b66b) (CP triggered by Beamanator) --- src/components/ReportActionItem/ReportPreview.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/ReportActionItem/ReportPreview.tsx b/src/components/ReportActionItem/ReportPreview.tsx index dd6497595062..7a9e4da245d2 100644 --- a/src/components/ReportActionItem/ReportPreview.tsx +++ b/src/components/ReportActionItem/ReportPreview.tsx @@ -145,7 +145,6 @@ function ReportPreview({ const [iouReport] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT}${iouReportID}`); const [transactions] = useOnyx(ONYXKEYS.COLLECTION.TRANSACTION, { selector: (_transactions) => reportTransactionsSelector(_transactions, iouReportID), - initialValue: [], }); const [transactionViolations] = useOnyx(ONYXKEYS.COLLECTION.TRANSACTION_VIOLATIONS); const [userWallet] = useOnyx(ONYXKEYS.USER_WALLET);