We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2818c18 commit daf3354Copy full SHA for daf3354
frontend/src/contexts/AuthContext.tsx
@@ -35,7 +35,7 @@ const AuthProvider: React.FC<{ children?: React.ReactNode }> = (props) => {
35
headers: { Authorization: `Bearer ${accessToken}` },
36
})
37
.then((res) => setUser(res.data.data))
38
- .catch((_err) => setUser(null));
+ .catch(() => setUser(null));
39
}, []);
40
41
// TODO
0 commit comments