π Description
In src/pages/Tracker/Tracker.tsx, authError is destructured from
useGitHubAuth() using error: authError. However, useGitHubAuth
never returns an error field, so authError is always undefined.
This means auth-related errors are silently swallowed and never shown
to the user.
Expected behavior
Auth-related errors should be surfaced to the user via the Alert component.
Steps to reproduce
- Open
/track in the app
- Trigger an auth-level error (e.g. invalid token)
- No error message appears in the UI despite the failure
What browsers are you seeing the problem on?
No response
π Relevant Screenshots (Links)
No response
π Description
In
src/pages/Tracker/Tracker.tsx,authErroris destructured fromuseGitHubAuth()usingerror: authError. However,useGitHubAuthnever returns an
errorfield, soauthErroris alwaysundefined.This means auth-related errors are silently swallowed and never shown
to the user.
Expected behavior
Auth-related errors should be surfaced to the user via the Alert component.
Steps to reproduce
/trackin the appWhat browsers are you seeing the problem on?
No response
π Relevant Screenshots (Links)
No response