0
0
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:
Scott Tolksdorf
2016-08-20 12:02:48 -04:00
parent cd454e82ef
commit 62d70022e7
9 changed files with 51 additions and 25 deletions

View File

@@ -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>