small eslint cleanups
All checks were successful
Code quality checks / build (23) (push) Successful in 35s
Push code / build (push) Successful in 46s

This commit is contained in:
Lara 2024-11-02 16:50:57 +02:00
parent 4e49e2d635
commit 536e0690ae
Signed by: laratheprotogen
GPG key ID: 5C0296EB3165F98B
2 changed files with 10 additions and 2 deletions

View file

@ -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");