chore(#223): update stack dev

This commit is contained in:
Juan Picado @jotadeveloper
2019-10-26 14:00:06 +02:00
committed by Priscila Oliveira
parent 531295a6d0
commit 95f173d29a
3 changed files with 313 additions and 198 deletions

View File

@@ -56,7 +56,7 @@ export default class App extends Component<{}, AppProps> {
public isUserAlreadyLoggedIn = () => {
// checks for token validity
const token = storage.getItem('token');
const username = storage.getItem('username');
const username: string = storage.getItem('username') as string;
if (isTokenExpire(token) || isNil(username)) {
this.handleLogout();
} else {