From 60aea74d5a4ba5c90f119a475e881c2c4c4d7e38 Mon Sep 17 00:00:00 2001 From: vhande <78013271+vhande@users.noreply.github.com> Date: Fri, 22 Nov 2024 14:06:46 +0100 Subject: [PATCH] Delete async --- src/pages/organizers/[organizerId]/preview/index.page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/organizers/[organizerId]/preview/index.page.tsx b/src/pages/organizers/[organizerId]/preview/index.page.tsx index e74b83006..cc5522772 100644 --- a/src/pages/organizers/[organizerId]/preview/index.page.tsx +++ b/src/pages/organizers/[organizerId]/preview/index.page.tsx @@ -84,7 +84,7 @@ const OrganizersPreview = () => { setIsSuccessAlertVisible(true); setIsQuestionModalVisible(false); }, - onError: async () => { + onError: () => { setIsQuestionModalVisible(false); setIsErrorAlertVisible(true); },