Skip to content

Commit daf3354

Browse files
committed
Fix lint
1 parent 2818c18 commit daf3354

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/contexts/AuthContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const AuthProvider: React.FC<{ children?: React.ReactNode }> = (props) => {
3535
headers: { Authorization: `Bearer ${accessToken}` },
3636
})
3737
.then((res) => setUser(res.data.data))
38-
.catch((_err) => setUser(null));
38+
.catch(() => setUser(null));
3939
}, []);
4040

4141
// TODO

0 commit comments

Comments
 (0)