UoaWDCC / uasc-web

Project with the University of Auckland Snowsports Club Website & Booking System. Established in 2023.
https://uasc.co.nz
6 stars 2 forks source link

remove hard redirect on admin pages to improve UX #710

Closed bcho892 closed 3 months ago

bcho892 commented 3 months ago

Right now the redirects does not play nicely with SSG, as the auth state seems to reset when the page is lazy-loaded.

We assume the only people accessing this route are admins, and if its is not, then an infinite loader is an acceptable experience.

github-actions[bot] commented 3 months ago

Visit the preview URL for this PR (updated for commit 5ee9b91):

https://uasc-ceebc--pr710-709-frontend-fix-ux-qvxhz6yl.web.app

(expires Sun, 04 Aug 2024 20:49:58 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 36296ceaed1d43e92e7d5e81a72a7bd987560bfa