diff --git a/src/components/CodeMirrorEditor.js b/src/components/CodeMirrorEditor.js index e15e3749..5ceba77c 100644 --- a/src/components/CodeMirrorEditor.js +++ b/src/components/CodeMirrorEditor.js @@ -86,8 +86,8 @@ const CodeMirrorEditor = ({ viewRef.current = null; } }; + // eslint-disable-next-line react-hooks/exhaustive-deps }, [isDark]); // Only recreate on theme change - // eslint-disable-next-line react-hooks/exhaustive-deps // Handle height changes without recreating editor useEffect(() => {