Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd26493 commit b84dd48Copy full SHA for b84dd48
‎client/packages/lowcoder/src/pages/editor/editorView.tsx
@@ -498,8 +498,6 @@ function EditorView(props: EditorViewProps) {
498
499
return () => {
500
window.removeEventListener(eventType, updateSize);
501
- savePanelStatus(panelStatus);
502
- saveEditorModeStatus(editorModeStatus);
503
};
504
}, [panelStatus, editorModeStatus]);
505
@@ -553,6 +551,8 @@ function EditorView(props: EditorViewProps) {
553
551
setShowShortcutList(false);
554
552
setMenuKey(SiderKey.State);
555
setHeight(undefined);
+ savePanelStatus(panelStatus);
+ saveEditorModeStatus(editorModeStatus);
556
557
}, []);
558
0 commit comments