mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-13 06:32:39 +00:00
Backend of local login working
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user