
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: eunjae@cal.com <hey@eunjae.dev>
* 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: eunjae@cal.com <hey@eunjae.dev>
* 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-09-08 08:24:30 +00:00
2025-09-12 05:57:09 -03:00
2025-09-16 10:39:42 -03:00
2025-09-12 19:04:19 +00:00
2025-07-24 22:36:40 +01:00
2025-08-25 14:34:46 +02:00
2025-03-20 21:30:51 -03:00
2025-08-26 20:20:12 +09:00
2025-08-14 09:51:49 -03:00
2025-08-25 14:34:46 +02:00
2025-04-11 14:28:26 -07:00
2025-05-18 01:12:26 -04:00
2025-04-07 09:51:14 +03:00
2024-03-21 03:56:57 +00:00
2025-05-09 19:44:48 +00:00
2025-07-26 01:38:20 +01:00
2025-07-26 01:38:20 +01:00
2025-04-22 16:04:36 +00:00
2025-03-20 21:30:51 -03:00
2025-09-09 18:20:22 +09:00
2025-01-25 18:30:07 +01:00
2025-04-01 19:14:46 -04:00
2024-12-31 13:50:43 +00:00
2025-04-01 19:14:46 -04:00