From 2c433fec318f67efed0633bdb209243162503299 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 21 Jun 2018 11:43:03 +0300 Subject: cleanup user column --- vnext/src/index.js | 49 +++++++++++++++++++++++++------------------------ 1 file changed, 25 insertions(+), 24 deletions(-) (limited to 'vnext/src') diff --git a/vnext/src/index.js b/vnext/src/index.js index 492b569e..88e44465 100644 --- a/vnext/src/index.js +++ b/vnext/src/index.js @@ -85,14 +85,15 @@ class App extends React.Component { }; }; render() { + const user = this.state.visitor; return (
- {this.state.visitor.uid > 0 ? + {user.uid > 0 ?
- {this.state.visitor.uname ? : } + {user.uname ? : }
: @@ -105,14 +106,14 @@ class App extends React.Component {