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 app = initializeApp(firebaseConfig)
export const db = getFirestore(app) export const db = getFirestore(app)
try { // try {
// Note: this is still throwing a console error atm... // // Note: this is still throwing a console error atm...
import('firebase/analytics').then((analytics) => { // import('firebase/analytics').then((analytics) => {
analytics.getAnalytics(app) // analytics.getAnalytics(app)
}) // })
} catch (e) { // } catch (e) {
console.warn('Analytics were blocked') // console.warn('Analytics were blocked')
} // }