fix(frontend): linting probleem

This commit is contained in:
Gerald Schmittinger 2025-04-22 11:16:33 +02:00
parent 868c5d9afe
commit 97b07ff2e5

View file

@ -44,7 +44,7 @@ async function loadUser(): Promise<User | null> {
// If the user is not in the local storage, he could still be authenticated in Keycloak.
try {
user = await userManager.signinSilent();
} catch (e: unknown) {
} catch (_: unknown) {
// When the user was previously logged in and then logged out, signinSilent throws an error.
// In that case, the user is not authenticated anymore, so we set him to null.
user = null;