This commit is contained in:
mantikoros 2021-12-15 22:20:39 -06:00
parent c5286dfa87
commit 9bd0ad7211

View File

@ -14,11 +14,11 @@ const firebaseConfig = {
export const app = initializeApp(firebaseConfig)
export const db = getFirestore(app)
try {
// Note: this is still throwing a console error atm...
import('firebase/analytics').then((analytics) => {
analytics.getAnalytics(app)
})
} catch (e) {
console.warn('Analytics were blocked')
}
// try {
// // Note: this is still throwing a console error atm...
// import('firebase/analytics').then((analytics) => {
// analytics.getAnalytics(app)
// })
// } catch (e) {
// console.warn('Analytics were blocked')
// }