|
@@ -14,10 +14,12 @@ export default function App() {
|
14
|
14
|
|
15
|
15
|
|
16
|
16
|
// Import the functions you need from the SDKs you need
|
17
|
|
-import { initializeApp } from "firebase/app";
|
|
17
|
+// import { initializeApp } from "firebase/app";
|
18
|
18
|
// TODO: Add SDKs for Firebase products that you want to use
|
19
|
19
|
// https://firebase.google.com/docs/web/setup#available-libraries
|
20
|
20
|
|
|
21
|
+import firebase from "firebase";
|
|
22
|
+
|
21
|
23
|
// Your web app's Firebase configuration
|
22
|
24
|
const firebaseConfig = {
|
23
|
25
|
apiKey: "AIzaSyDW-ABAQ3r_WR7C7WC_3VprL77NcAoitJI",
|
|
@@ -29,7 +31,7 @@ const firebaseConfig = {
|
29
|
31
|
};
|
30
|
32
|
|
31
|
33
|
// Initialize Firebase
|
32
|
|
-const app = initializeApp(firebaseConfig);
|
|
34
|
+const app = firebase.initializeApp(firebaseConfig);
|
33
|
35
|
|
34
|
36
|
|
35
|
37
|
const styles = StyleSheet.create({
|