0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-03-23 00:08:11 +00:00

Merge branch 'master' into addLocalLogin-#269

This commit is contained in:
G.Ambatte
2022-03-27 17:15:41 +13:00
committed by GitHub
4 changed files with 61 additions and 14 deletions

View File

@@ -32,13 +32,16 @@ const Homebrew = createClass({
}
};
},
getInitialState : function() {
global.account = this.props.account;
global.version = this.props.version;
global.enable_v3 = this.props.enable_v3;
global.config = this.props.config;
return {};
return {};
},
render : function (){
return (
<Router location={this.props.url}>

View File

@@ -14,12 +14,10 @@ const Navbar = createClass({
};
},
componentDidMount : function() {
//const isChrome = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor);
this.setState({
//showNonChromeWarning : !isChrome,
ver : window.version
});
getInitialState : function() {
return {
ver : global.version
};
},
/*