57382b10ec
* fix(portal): prevent /login redirect for client dev users when session.id is null When a client clicks "Abigail Brooks" in the dev login selector, POST /api/portal/dev-session returns 201 but the session may not have id set immediately (timing issue or API response). This caused both CustomerPortal and Dashboard to redirect to /login because session?.id was null. Changes: - CustomerPortal: don't redirect to /login for client dev users even if session is null — the dev-session flow has verified the user - Dashboard: check for dev user before redirecting when sessionId is null This ensures client dev users see the portal rather than being immediately redirected back to /login. 🤖 Generated with [Claude Code](https://claude.com/claude-code) * fix(portal): remove .js extension from DevLoginSelector import in Dashboard TS2307: Cannot find module "../pages/DevLoginSelector.js" The source file is .tsx, not .ts/js. Fixes typecheck failure in CI. Co-Authored-By: Paperclip <noreply@paperclip.ing> * fix(portal): correct import path for DevLoginSelector in Dashboard Dashboard.tsx is at portal/sections/ (2 levels deep from src/), so the import path needs ../../pages/ not ../pages/. Co-Authored-By: Paperclip <noreply@paperclip.ing> --------- Co-authored-by: Barkley Trimsworth <barkley@groombook.com> Co-authored-by: Paperclip <noreply@paperclip.ing> Co-authored-by: groombook-qa[bot] <269744346+groombook-qa[bot]@users.noreply.github.com>