mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 20:42:43 +00:00
Shift global declarations to componentDidMount
This commit is contained in:
@@ -32,7 +32,7 @@ const Homebrew = createClass({
|
||||
}
|
||||
};
|
||||
},
|
||||
componentWillMount : function() {
|
||||
componentDidMount : function() {
|
||||
global.account = this.props.account;
|
||||
global.version = this.props.version;
|
||||
global.enable_v3 = this.props.enable_v3;
|
||||
|
||||
Reference in New Issue
Block a user