radio4000 / migrate-tool

A website for managing a Radio4000 channel migration, from firebase (realtime) to supabase
https://migrate.radio4000.com/
0 stars 0 forks source link

Less UI flashing when signing in #41

Closed oskarrough closed 2 years ago

oskarrough commented 2 years ago

If we set the session as soon as possible it avoids the UI first rendering the un-authed state on load when you're already signed in. Also changed the conditional logic in the menu component to flash a bit less.

See

https://github.com/supabase/gotrue-js/pull/30
https://github.com/aicushman/ui/commit/3c4e837342f13e4c6c31feecf1d0a0b0eaf054b7
vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/internet4000/cms/DZ2AZEHsVM9JMfQ2AnD7nyqysL6N
✅ Preview: https://cms-git-chore-auth-ui-flash-internet40001.vercel.app