From a54388129436b281b8c609f9897dfd445ab684a7 Mon Sep 17 00:00:00 2001 From: Bernhard Owen Josephus Date: Thu, 25 Jan 2024 14:36:57 +0800 Subject: [PATCH] lint --- src/libs/actions/Report.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/libs/actions/Report.ts b/src/libs/actions/Report.ts index fa75c9961fc7..1b4c8f9b602d 100644 --- a/src/libs/actions/Report.ts +++ b/src/libs/actions/Report.ts @@ -1589,12 +1589,10 @@ function navigateToConciergeChat(ignoreConciergeReportID = false, shouldDismissM // If we don't have a chat with Concierge then create it navigateToAndOpenReport([CONST.EMAIL.CONCIERGE], shouldDismissModal); }); + } else if (shouldDismissModal) { + Navigation.dismissModal(conciergeChatReportID); } else { - if (shouldDismissModal) { - Navigation.dismissModal(conciergeChatReportID); - } else { - Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(conciergeChatReportID)); - } + Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(conciergeChatReportID)); } }