diff --git a/frontend/src/Editor/EditorFunc.jsx b/frontend/src/Editor/EditorFunc.jsx index cb8f844787..7687e3f776 100644 --- a/frontend/src/Editor/EditorFunc.jsx +++ b/frontend/src/Editor/EditorFunc.jsx @@ -1283,9 +1283,9 @@ const EditorComponent = (props) => { }); }; - const clonePage = async (pageId) => { + const clonePage = (pageId) => { setIsSaving(true); - await appVersionService + appVersionService .clonePage(appId, editingVersion?.id, pageId) .then((data) => { const copyOfAppDefinition = JSON.parse(JSON.stringify(appDefinition));