Removed TODO

This commit is contained in:
Claudio Maggioni 2020-03-18 15:49:33 +01:00
parent 993f1432a0
commit d7399abdea

View file

@ -98,8 +98,7 @@ class App extends Component {
</Route>
<Route path="/signup" exact component={Signup} />
<Route path="/dashboard" >
{/* ToDO change this back */}
{!this.state.loggedIn ? <Dashboard tkn={this.state.token} logout={this.logout} /> : <Redirect to="/login" />}
{this.state.loggedIn ? <Dashboard tkn={this.state.token} logout={this.logout} /> : <Redirect to="/login" />}
</Route>
<Route path="/forgot-password" >
<ForgotPass />