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