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

Move Firebase stuff from db-session to import page #44

Closed oskarrough closed 2 years ago

oskarrough commented 2 years ago

Moved the calls to the firebase hooks from the db-session context to the import page.

Moved firebase.initializeApp() into a startFirebase function. This is to avoid firebase doing stuff on import. The context is maybe nicer, but since we really only need Firebase on /import for now, I prefer it to loading Firebase everywhere. Seems easy enough to import hooks and gogo where we need.

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/9wBCWhMvUSM6EoHvXQkhLjyG5Lmt
✅ Preview: https://cms-git-refactor-load-less-firebase-internet40001.vercel.app

4www commented 2 years ago

Cool! seems legit yes as we need it only there and are trying to escape its claws.

oskarrough commented 2 years ago

Thanks thanks