1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-20 18:31:29 +00:00

Added new account nav item

This commit is contained in:
Scott Tolksdorf
2016-11-25 00:28:48 -05:00
parent 4e5cd914f7
commit a0ca45ce1c
9 changed files with 60 additions and 22 deletions

View File

@@ -31,6 +31,9 @@ const Homebrew = React.createClass({
};
},
componentWillMount: function() {
global.account = this.props.account;
Router = CreateRouter({
'/edit/:id' : (args) => {
if(!this.props.brew.editId){