Files
src/pages/SignIn.tsx (108 lines, inline styles, "use client" directive)
src/pages/auth/SignIn.tsx (228 lines, Tailwind) — only this one is wired up
src/routes/AppRoutes.tsx — never imported; routes are inlined in App.tsx
Problem
Two SignIn pages exist; only one is used. A dedicated AppRoutes.tsx was created but abandoned in favor of inline routes.
Expected
- Keep
src/pages/auth/SignIn.tsx (Tailwind, React Query, validation). Delete src/pages/SignIn.tsx.
- Move all
<Route> definitions out of App.tsx into AppRoutes.tsx and import it once in App.tsx.
- Confirm no other file imports the deleted
pages/SignIn or any broken route.
Acceptance
- Only one SignIn implementation remains.
AppRoutes.tsx is the single source of truth for routes.
npm run build passes.
Files
src/pages/SignIn.tsx(108 lines, inline styles,"use client"directive)src/pages/auth/SignIn.tsx(228 lines, Tailwind) — only this one is wired upsrc/routes/AppRoutes.tsx— never imported; routes are inlined inApp.tsxProblem
Two SignIn pages exist; only one is used. A dedicated
AppRoutes.tsxwas created but abandoned in favor of inline routes.Expected
src/pages/auth/SignIn.tsx(Tailwind, React Query, validation). Deletesrc/pages/SignIn.tsx.<Route>definitions out ofApp.tsxintoAppRoutes.tsxand import it once inApp.tsx.pages/SignInor any broken route.Acceptance
AppRoutes.tsxis the single source of truth for routes.npm run buildpasses.