with SSRs the firebase app continues to run, thus leading to the error above. This should resolve your problem:
if (!firebase.apps.length) { firebase.initializeApp(firebaseConfig); }
with SSRs the firebase app continues to run, thus leading to the error above. This should resolve your problem:
if (!firebase.apps.length) { firebase.initializeApp(firebaseConfig); }