From 3903c44fe5a6c7db0d22d9cf982c28a1380f4546 Mon Sep 17 00:00:00 2001 From: Ankita Kinger Date: Tue, 19 Nov 2024 01:30:34 +0530 Subject: [PATCH] reordering --- .../components/GeneratePageForm/GeneratePageForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/client/src/pages/Editor/GeneratePage/components/GeneratePageForm/GeneratePageForm.tsx b/app/client/src/pages/Editor/GeneratePage/components/GeneratePageForm/GeneratePageForm.tsx index ba69524fadf6..ef53e385e747 100644 --- a/app/client/src/pages/Editor/GeneratePage/components/GeneratePageForm/GeneratePageForm.tsx +++ b/app/client/src/pages/Editor/GeneratePage/components/GeneratePageForm/GeneratePageForm.tsx @@ -585,8 +585,8 @@ function GeneratePageForm() { }; AnalyticsUtil.logEvent("GEN_CRUD_PAGE_FORM_SUBMIT"); - dispatch(closeGeneratePageModal()); dispatch(generateTemplateToUpdatePage(payload)); + dispatch(closeGeneratePageModal()); }; const handleFormSubmit = () => {