From b60f1be12403120dd2a69457f92b28fb15452c49 Mon Sep 17 00:00:00 2001 From: Jack Nam Date: Fri, 7 Jul 2023 16:42:57 -0700 Subject: [PATCH 1/2] fix crash --- src/pages/home/ReportScreen.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/pages/home/ReportScreen.js b/src/pages/home/ReportScreen.js index 8464c7a85e70..080299fd2cf7 100644 --- a/src/pages/home/ReportScreen.js +++ b/src/pages/home/ReportScreen.js @@ -292,16 +292,14 @@ class ReportScreen extends React.Component { /> )} - {ReportUtils.isTaskReport(this.props.report) && - this.props.isSmallScreenWidth && - ReportUtils.isOpenTaskReport(this.props.report)( + {ReportUtils.isTaskReport(this.props.report) && this.props.isSmallScreenWidth && ReportUtils.isOpenTaskReport(this.props.report) && ( - , + )} {Boolean(this.props.accountManagerReportID) && ReportUtils.isConciergeChatReport(this.props.report) && this.state.isBannerVisible && ( From 8b3c9ca3892d71be58b54fbf8d83a4134f874c39 Mon Sep 17 00:00:00 2001 From: Jack Nam Date: Fri, 7 Jul 2023 16:49:54 -0700 Subject: [PATCH 2/2] prettier --- src/pages/home/ReportScreen.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pages/home/ReportScreen.js b/src/pages/home/ReportScreen.js index 080299fd2cf7..4571e5318a8b 100644 --- a/src/pages/home/ReportScreen.js +++ b/src/pages/home/ReportScreen.js @@ -293,14 +293,14 @@ class ReportScreen extends React.Component { )} {ReportUtils.isTaskReport(this.props.report) && this.props.isSmallScreenWidth && ReportUtils.isOpenTaskReport(this.props.report) && ( - - - - - + + + + - )} + + )} {Boolean(this.props.accountManagerReportID) && ReportUtils.isConciergeChatReport(this.props.report) && this.state.isBannerVisible && (