Add default value for document name in snippets menu

This commit is contained in:
David Bolack committed 2025-03-14 19:26:37 -05:00
1 parent b605346c7d
commit 99efe7f06b
1 file changed
+1 -1
@@ -121,7 +121,7 @@ const Snippetbar = createClass({
}
}
const userSnippetsasJSON = brewSnippetsToJSON(this.props.brew.title, this.props.brew.snippets, this.props.themeBundle.snippets);
const userSnippetsasJSON = brewSnippetsToJSON(this.props.brew.title || 'New Document', this.props.brew.snippets, this.props.themeBundle.snippets);
compiledSnippets.push(userSnippetsasJSON);
return compiledSnippets;