diff --git a/client/src/components/composite/Admin/AdminEventView/AdminEventView.tsx b/client/src/components/composite/Admin/AdminEventView/AdminEventView.tsx index 62e18033..313370e0 100644 --- a/client/src/components/composite/Admin/AdminEventView/AdminEventView.tsx +++ b/client/src/components/composite/Admin/AdminEventView/AdminEventView.tsx @@ -135,10 +135,12 @@ const AdminEventViewContent = ({ defaultData={eventPreviousData} handleDeleteEvent={async () => { await handleDeleteEvent?.(editedEventId) + await fetchEventToEdit?.() setMode("view-all-events") }} handlePostEvent={async (data) => { await handleEditEvent?.(editedEventId, data.data) + await fetchEventToEdit?.() setMode("view-all-events") }} isEditMode