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 = {