0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-19 20:42:44 +00:00

Add Snippets to /new

This commit is contained in:
David Bolack
2024-11-23 01:57:07 -06:00
parent 5f67494f77
commit c5935ec262
2 changed files with 17 additions and 2 deletions

View File

@@ -108,7 +108,8 @@ const HomePage = createClass({
onTextChange={this.handleTextChange}
renderer={this.state.brew.renderer}
showEditButtons={false}
snippetBundle={this.state.themeBundle.snippets}
snippets={this.props.snippets}
themeBundle={this.state.themeBundle}
onCursorPageChange={this.handleEditorCursorPageChange}
onViewPageChange={this.handleEditorViewPageChange}
currentEditorViewPageNum={this.state.currentEditorViewPageNum}