diff options
Diffstat (limited to 'src/components/App.js')
| -rw-r--r-- | src/components/App.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/App.js b/src/components/App.js index 9ead9c5..636c672 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -56,8 +56,8 @@ class App extends React.Component { clearToken={this.clearToken} /> ); - // if (this.state.token === null) - // return <Login setToken={this.setToken} setError={this.setError} />; + if (this.state.token === null) + return <Login setToken={this.setToken} setError={this.setError} />; return ( <Router> <Header clearToken={this.clearToken} /> |
