This commit is contained in:
arpitnath 2023-09-29 02:26:27 +05:30
parent 7539e61182
commit 905d194eb5

View file

@ -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));