Skip to content

Commit

Permalink
Fix: Delete modal does not disappear immediately
Browse files Browse the repository at this point in the history
  • Loading branch information
truph01 committed Jun 18, 2024
1 parent 9ec57c0 commit dbfa5fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/EditReportFieldPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ function EditReportFieldPage({route, policy, report}: EditReportFieldPageProps)

const handleReportFieldDelete = () => {
ReportActions.deleteReportField(report.reportID, reportField);
setIsDeleteModalVisible(false);
Navigation.dismissModal(report?.reportID);
};

Expand Down

0 comments on commit dbfa5fe

Please sign in to comment.