From 4ad4515703000edb63afab836b10607d40d19085 Mon Sep 17 00:00:00 2001 From: Sherfin Shamsudeen Date: Sat, 7 Jan 2023 23:18:50 +0530 Subject: [PATCH] Change the position of id inside page object --- frontend/src/Editor/Editor.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Editor/Editor.jsx b/frontend/src/Editor/Editor.jsx index 6588c8bc83..f3f927e376 100644 --- a/frontend/src/Editor/Editor.jsx +++ b/frontend/src/Editor/Editor.jsx @@ -1622,10 +1622,10 @@ class EditorComponent extends React.Component { const { globals: existingGlobals } = this.state.currentState; const page = { + id: pageId, name, handle, variables: this.state.pages?.[pageId]?.variables ?? {}, - id: pageId, }; const globals = {