fix: infinite spinner – init isLoading from token presence and add home-page auth check
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com> Agent-Logs-Url: https://github.com/christianlouis/pop_puller_to_gmail/sessions/b032c6bb-aa8c-491d-91f5-289c69e67b95
This commit is contained in:
@@ -195,6 +195,7 @@ because the API client layer is missing.
|
||||
- Exports: `authApi`, `mailAccountsApi`, `processingRunsApi`, `userApi`
|
||||
- Exports types: `User`, `MailAccount`, `MailAccountCreate`, `ProcessingRun`
|
||||
- 8 files import from `@/lib/api` — all compilation errors resolved
|
||||
- [x] Fix infinite spinner on home page: `isLoading` now initialises based on token presence; home page performs auth check when token exists
|
||||
|
||||
### Existing Pages (UI done, need API wiring) 🔨
|
||||
- [x] Landing page (`app/page.tsx`)
|
||||
|
||||
Reference in New Issue
Block a user