0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-01 08:42:45 +00:00

Shift global declarations to componentDidMount

This commit is contained in:
G.Ambatte
2022-03-25 16:12:33 +13:00
parent 323ccf3b25
commit 2be365c839

View File

@@ -32,7 +32,7 @@ const Homebrew = createClass({
} }
}; };
}, },
componentWillMount : function() { componentDidMount : function() {
global.account = this.props.account; global.account = this.props.account;
global.version = this.props.version; global.version = this.props.version;
global.enable_v3 = this.props.enable_v3; global.enable_v3 = this.props.enable_v3;