0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-13 10:52:46 +00:00

Backend of local login working

This commit is contained in:
Scott Tolksdorf
2017-01-06 19:43:16 -05:00
parent a26c4e2092
commit d77fa0a3dc
6 changed files with 30 additions and 13 deletions

View File

@@ -26,16 +26,16 @@ const Homebrew = React.createClass({
return {
url : '',
version : '0.0.0',
user : undefined,
loginPath : '',
user : undefined,
brew : undefined,
brews : []
};
},
componentWillMount: function() {
//TODO: remove
global.account = this.props.account;
global.version = this.props.version;
console.log('user', this.props.user);
console.log('loginpath', this.props.loginPath);
//console.log(mapObject(['version', 'brew', 'account'], this.props));