diff --git a/client/homebrew/editor/editor.jsx b/client/homebrew/editor/editor.jsx index ebfd74060..d43ae7c61 100644 --- a/client/homebrew/editor/editor.jsx +++ b/client/homebrew/editor/editor.jsx @@ -170,7 +170,7 @@ const Editor = createClass({ //Called when there are changes to the editor's dimensions update : function(){ - this.refs.codeEditor.updateSize(); + this.refs.codeEditor?.updateSize(); }, renderEditor : function(){