Closed oskarrough closed 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
Cool! seems legit yes as we need it only there and are trying to escape its claws.
Thanks thanks
Moved the calls to the firebase hooks from the
db-session
context to theimport
page.Moved
firebase.initializeApp()
into astartFirebase
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.