Fixed lint errors

This commit is contained in:
JesseFPV
2026-01-21 14:50:31 +01:00
parent 3e1843f834
commit d731cd2a91
4 changed files with 12 additions and 15 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ export function AuthProvider({ children }: { children: React.ReactNode }) {
try {
const currentUser = await api.getCurrentUser();
setUser(currentUser);
} catch (error) {
} catch {
// Token invalid, clear it
setAuthToken(null);
setUser(null);
@@ -79,7 +79,7 @@ export function AuthProvider({ children }: { children: React.ReactNode }) {
try {
const currentUser = await api.getCurrentUser();
setUser(currentUser);
} catch (error) {
} catch {
setAuthToken(null);
setUser(null);
}