Skip to content

Commit f34309f

Browse files
authored
Merge pull request #61778 from callstack-internal/followup-fix-for-empty-state-blinking-in-expense-reports
Revert "fix: an empty report state shows briefly when opening transaction thread in Reports"
2 parents 1b9fa58 + 4d759dc commit f34309f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/libs/MoneyRequestReportUtils.ts

-4
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,6 @@ function isSingleTransactionReport(report: OnyxEntry<Report>, transactions: Tran
8888
* Likewise, if report has only 1 connected transaction, then we also use other views.
8989
*/
9090
function shouldDisplayReportTableView(report: OnyxEntry<Report>, transactions: Transaction[]) {
91-
if (!report || !transactions.length) {
92-
return false;
93-
}
94-
9591
return !isReportTransactionThread(report) && !isSingleTransactionReport(report, transactions);
9692
}
9793

0 commit comments

Comments
 (0)