
Eunjae LeeandDevin AI
4d0458b0e8
feat: add client-side auth protection to routing forms pages (#23743)
* feat: add client-side auth protection to routing forms pages
- Create RoutingFormsShell component with useRedirectToLoginIfUnauthenticated hook
- Wrap form-edit, route-builder, and incomplete-booking pages with RoutingFormsShell
- Ensures consistent auth behavior during client-side navigation
- Maintains existing server-side auth protection
- Fix ESLint warnings: replace 'any' types with 'unknown' types and add eslint-disable for restricted imports
Co-Authored-By: [email protected] <[email protected]>
* refactor: clean up RoutingFormsShell implementation
- Remove unused isPublic parameter from RoutingFormsShell component
- Keep only essential client-side authentication protection functionality
- Fix remaining ESLint warnings to allow commit to pass
Co-Authored-By: [email protected] <[email protected]>
* remove unnecessary hook
* use shell at layout
* rename component
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-09-16 10:39:42 -03:00
..
2025-07-10 12:11:14 +00:00
2025-04-17 19:55:01 -07:00
2025-04-17 19:55:01 -07:00
2025-04-26 12:21:11 +00:00
2025-08-26 20:20:12 +09:00
2025-09-16 10:39:42 -03:00