From a7d8f0c84eabf21d1f9b6f9331e18201e6a6f047 Mon Sep 17 00:00:00 2001 From: Gaurav Suthar <43517315+suthargk@users.noreply.github.com> Date: Mon, 4 Sep 2023 18:29:50 +0530 Subject: [PATCH] fix: add loading to delete event dialog (#11102) * add loading to delete event dialog * chore: use mutation isLoading Signed-off-by: Udit Takkar --------- Signed-off-by: Udit Takkar Co-authored-by: Udit Takkar --- apps/web/pages/event-types/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/pages/event-types/index.tsx b/apps/web/pages/event-types/index.tsx index d81c93a169..0e30f528e9 100644 --- a/apps/web/pages/event-types/index.tsx +++ b/apps/web/pages/event-types/index.tsx @@ -662,6 +662,7 @@ export const EventTypeList = ({ group, groupIndex, readOnly, types }: EventTypeL title={t(`delete${isManagedEventPrefix()}_event_type`)} confirmBtnText={t(`confirm_delete_event_type`)} loadingText={t(`confirm_delete_event_type`)} + isLoading={deleteMutation.isLoading} onConfirm={(e) => { e.preventDefault(); deleteEventTypeHandler(deleteDialogTypeId);