From 7daf0fdc944db0def4e544e692551d2b76379fb2 Mon Sep 17 00:00:00 2001 From: Caden Buckhalt Date: Tue, 7 May 2024 14:03:20 -0700 Subject: [PATCH] fix: close delete participants modal after delete --- .../_components/ParticipantsTable/ParticipantsTableClient.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/dashboard/_components/ParticipantsTable/ParticipantsTableClient.tsx b/app/dashboard/_components/ParticipantsTable/ParticipantsTableClient.tsx index 7543eff4..2760ee48 100644 --- a/app/dashboard/_components/ParticipantsTable/ParticipantsTableClient.tsx +++ b/app/dashboard/_components/ParticipantsTable/ParticipantsTableClient.tsx @@ -52,6 +52,8 @@ export const ParticipantsTableClient = ({ } await deleteParticipants(participantsToDelete.map((p) => p.identifier)); + + resetDelete(); }; // Resets the state when the dialog is closed.