test
This commit is contained in:
parent
c5286dfa87
commit
9bd0ad7211
|
@ -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')
|
||||||
}
|
// }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user