small eslint cleanups
This commit is contained in:
parent
4e49e2d635
commit
536e0690ae
2 changed files with 10 additions and 2 deletions
|
@ -27,7 +27,9 @@ export const AuthStore: Module<AuthState, RootState> = {
|
|||
await dispatch("setApiKey", { key: storedKey, userId: result.userId });
|
||||
return;
|
||||
}
|
||||
} catch {} // tslint:disable-line
|
||||
} catch {
|
||||
/* empty */
|
||||
}
|
||||
|
||||
console.log("Unable to validate key, removing from localStorage"); // tslint:disable-line
|
||||
localStorage.removeItem("apiKey");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue