Seperating Google Firebase for ease of troubleshooting

This commit is contained in:
Ray 2024-07-23 03:54:06 +00:00 committed by GitHub
parent c4946e0045
commit 8a93184af1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 2 deletions

View File

@ -1,8 +1,8 @@
import { Client } from 'appwrite';
// Google Firebase Plugins to add
import { firebaseConfig } from "./config/FirebaseConfig"
import { initializeApp } from "firebase/app"
import { Routes, Route } from "react-router-dom"
import { useState, useEffect } from "react"
import { getAuth,
createUserWithEmailAndPassword,
onAuthStateChanged,
@ -25,6 +25,9 @@ import { Signout } from "./pages/Signout"
import { Signin } from "./pages/Signin"
import { Detail } from "./pages/Detail";
import { Routes, Route } from "react-router-dom"
import { useState, useEffect } from "react"
// contexts
import { AuthContext } from "./contexts/AuthContext"
import { StorageContext } from "./contexts/StorageContext";