From 04b2421793c9378799f31fd13550168e6b2dfb5f Mon Sep 17 00:00:00 2001 From: "G.Ambatte" Date: Sat, 28 Aug 2021 11:03:47 +1200 Subject: [PATCH] Update client/homebrew/editor/editor.jsx Co-authored-by: Trevor Buckner --- client/homebrew/editor/editor.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/homebrew/editor/editor.jsx b/client/homebrew/editor/editor.jsx index ce18aa689..5f6a70493 100644 --- a/client/homebrew/editor/editor.jsx +++ b/client/homebrew/editor/editor.jsx @@ -70,7 +70,7 @@ const Editor = createClass({ handleInject : function(injectText){ const text = ( this.isText() && this.props.brew.text || - this.isStyle() && (this.props.brew.style || DEFAULT_STYLE_TEXT) + this.isStyle() && (this.props.brew.style ?? DEFAULT_STYLE_TEXT) ); const lines = text.split('\n');