mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-19 01:12:45 +00:00
Package version is now loaded into the navbar
This commit is contained in:
@@ -19,6 +19,7 @@ const KEY = 'homebrewery-new';
|
||||
var NewPage = React.createClass({
|
||||
getInitialState: function() {
|
||||
return {
|
||||
ver : '0.0.0',
|
||||
title : 'My Awesome Brew v99',
|
||||
text: '',
|
||||
isSaving : false
|
||||
@@ -98,7 +99,7 @@ var NewPage = React.createClass({
|
||||
},
|
||||
|
||||
renderNavbar : function(){
|
||||
return <Navbar>
|
||||
return <Navbar ver={this.props.ver}>
|
||||
<Nav.section>
|
||||
<EditTitle title={this.state.title} onChange={this.handleTitleChange} />
|
||||
</Nav.section>
|
||||
|
||||
Reference in New Issue
Block a user