diff --git a/src/App.tsx b/src/App.tsx index 263c6fc..4dfe275 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -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 () => {