mirror of
https://github.com/naturalcrit/naturalcrit.git
synced 2025-10-27 07:29:54 +00:00
test show environment
This commit is contained in:
parent
39f481e38f
commit
b20d20d9ab
@ -53,10 +53,13 @@ const Naturalcrit = React.createClass({
|
||||
},
|
||||
|
||||
render: function () {
|
||||
console.log(this.props);
|
||||
const isLocal = this.props.domain === ".local.naturalcrit.com";
|
||||
return (
|
||||
<div className="naturalcrit">
|
||||
<Router initialUrl={this.props.url} />
|
||||
<div className={`accountButton ${this.props.user ? '' : 'login'}`}>{this.renderAccount()}</div>
|
||||
<div class="environment"></div>
|
||||
</div>
|
||||
);
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user