From 49b9675eceab41753aef5f2b6a721607d10b04f7 Mon Sep 17 00:00:00 2001 From: Anurag-Spec <79415746+Anurag-Spec@users.noreply.github.com> Date: Sun, 29 Aug 2021 18:56:38 +0530 Subject: [PATCH] update firebase.js(lib) Due to the firebase V 9.0 release, there has been a change in how imports work. This provides a fix without having to change a lot of the stuff. --- src/lib/firebase.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/firebase.js b/src/lib/firebase.js index e37d218..ed50c13 100644 --- a/src/lib/firebase.js +++ b/src/lib/firebase.js @@ -1,6 +1,6 @@ -import Firebase from 'firebase/app'; -import 'firebase/firestore'; -import 'firebase/auth'; +import Firebase from 'firebase/compat/app'; +import 'firebase/compat/firestore'; +import 'firebase/compat/auth'; const config = { apiKey: '',