diff --git a/frontend/components/CellInput.js b/frontend/components/CellInput.js index ad5d2aadc1..3bdff6358d 100644 --- a/frontend/components/CellInput.js +++ b/frontend/components/CellInput.js @@ -421,7 +421,7 @@ export const CellInput = ({ }, [on_change]) ) - useLayoutEffect(() => { + useLayoutEffect(function cellinput_setup_codemirror() { if (dom_node_ref.current == null) return const keyMapSubmit = (/** @type {EditorView} */ cm) => {