From c90b70389bb4979f0e9eb8a26c1599100bdfd8f3 Mon Sep 17 00:00:00 2001 From: Rushat Gabhane Date: Sat, 6 Jul 2024 16:39:07 +0300 Subject: [PATCH] rm unnecessary setstate --- src/pages/ReportDetailsPage.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pages/ReportDetailsPage.tsx b/src/pages/ReportDetailsPage.tsx index bba2f2c8fcb6..c6e25bcaa70a 100644 --- a/src/pages/ReportDetailsPage.tsx +++ b/src/pages/ReportDetailsPage.tsx @@ -236,7 +236,6 @@ function ReportDetailsPage({policies, report, session, personalDetails}: ReportD setIsUnapproveModalVisible(true); return; } - setIsUnapproveModalVisible(false); Navigation.dismissModal(); IOU.unapproveExpenseReport(moneyRequestReport); }, [moneyRequestReport, policy]);