Skip to content

Commit

Permalink
fix: close delete modal on delete (#3069)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeldking committed May 3, 2024
1 parent e0cc58d commit 083a467
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/src/pages/projects/ProjectActionMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,13 @@ export function ProjectActionMenu({
borderTopWidth="thin"
>
<Flex direction="row" justifyContent="end">
<Button variant="danger" onClick={handleDelete}>
<Button
variant="danger"
onClick={() => {
handleDelete();
setConfirmDialog(null);
}}
>
Delete Project
</Button>
</Flex>
Expand Down

0 comments on commit 083a467

Please sign in to comment.