From 69efe1ca65ba72d93778a1fc25423687b15c59cf Mon Sep 17 00:00:00 2001 From: Nikki Wines Date: Tue, 9 Apr 2024 14:23:21 -0700 Subject: [PATCH] Merge pull request #39968 from Expensify/revert-39465-nikki-receipt-offline-add Revert "Align offline receipt view for one-transaction and multi-transaction views" (cherry picked from commit 61d6dcb0dbcd8507a8ad68e08532684634d05f17) --- src/pages/home/report/ReportActionItem.tsx | 29 +++++++++------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/src/pages/home/report/ReportActionItem.tsx b/src/pages/home/report/ReportActionItem.tsx index 02d7a14f4b0e..980fc7217b1d 100644 --- a/src/pages/home/report/ReportActionItem.tsx +++ b/src/pages/home/report/ReportActionItem.tsx @@ -753,18 +753,15 @@ function ReportActionItem({ } if (ReportUtils.isExpenseReport(report) || ReportUtils.isIOUReport(report)) { return ( - // eslint-disable-next-line react/jsx-no-useless-fragment - <> + {transactionThreadReport && !isEmptyObject(transactionThreadReport) ? ( <> {transactionCurrency !== report.currency && ( - - - + )} ) : ( - - - + )} - + ); }