Skip to content

Commit de33f3e

Browse files
committed
address comment
1 parent dedf25c commit de33f3e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/pages/TransactionDuplicate/Review.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ function TransactionDuplicateReview() {
6767
openReport(route.params.threadReportID);
6868
}, [report?.reportID, route.params.threadReportID]);
6969

70-
const isLoadingReport = !report?.reportID && reportMetadata?.isLoadingInitialReportActions !== false;
70+
const isLoadingPage = !report?.reportID && reportMetadata?.isLoadingInitialReportActions !== false || !reportAction?.reportActionID;
7171

7272
// eslint-disable-next-line rulesdir/no-negated-variables
73-
const shouldShowNotFound = !isLoadingReport && !transactionID;
73+
const shouldShowNotFound = !isLoadingPage && !transactionID;
7474

75-
if (isLoadingReport) {
75+
if (isLoadingPage) {
7676
return (
7777
<ScreenWrapper testID={TransactionDuplicateReview.displayName}>
7878
<View style={[styles.borderBottom]}>

0 commit comments

Comments
 (0)