Include splitView in the dependency array for requestMeasure

This commit is contained in:
2026-02-01 04:29:24 +01:00
parent cf92325bed
commit fefa100175

View File

@@ -413,7 +413,7 @@ export default function App() {
const view = editorViewRef.current;
if (!view) return;
view.requestMeasure();
}, [markdownPreview, textSize, sidebarCollapsed, historyOpen]);
}, [markdownPreview, splitView, textSize, sidebarCollapsed, historyOpen]);
const refreshTexts = useCallback(async () => {