0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-09 22:22:41 +00:00

Remove metadata on the Homepage (#1121)

* Remove the metadata button on home page

1) Hopefully make it more clear that the Homepage is meant as a sandbox to test out the site, not a real brew that will be saved.

2) Also, avoid errors resulting from trying to modify the metadata of a brew that doesn't really exist yet.

* Lint
This commit is contained in:
Trevor Buckner
2020-11-27 21:14:15 -05:00
committed by GitHub
parent 3fbddd2e41
commit 8ffea70b2f
3 changed files with 18 additions and 12 deletions

View File

@@ -77,7 +77,7 @@ const HomePage = createClass({
<div className='content'>
<SplitPane onDragFinish={this.handleSplitMove} ref='pane'>
<Editor value={this.state.text} onChange={this.handleTextChange} ref='editor'/>
<Editor value={this.state.text} onChange={this.handleTextChange} showMetaButton={false} ref='editor'/>
<BrewRenderer text={this.state.text} />
</SplitPane>
</div>