Seperating Google Firebase for ease of troubleshooting
This commit is contained in:
parent
c4946e0045
commit
8a93184af1
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue