diff --git a/client/homebrew/utils/commonEditPageFunctions.jsx b/client/homebrew/utils/commonEditPageFunctions.jsx index b13ddaaf5..b0a7fc171 100644 --- a/client/homebrew/utils/commonEditPageFunctions.jsx +++ b/client/homebrew/utils/commonEditPageFunctions.jsx @@ -158,7 +158,7 @@ export default function useCommonEditPageFunctions(dependencies) { }; const handleSplitMove = ()=>{ - editorRef.current.update(); + editorRef.current?.update(); }; const handleBrewChange = (field)=>(value, subfield)=>{ //'text', 'style', 'snippets', 'metadata'