Add AuthContexts to App.js
This commit is contained in:
parent
54dfacce1d
commit
6464316cb7
|
@ -17,6 +17,9 @@ import { Signup } from "./pages/Signup"
|
|||
import { Signout } from "./pages/Signout"
|
||||
import { Signin } from "./pages/Signin"
|
||||
|
||||
// contexts
|
||||
import { AuthContext } from "./contexts/AuthContext"
|
||||
|
||||
|
||||
|
||||
function App() {
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
import { createContext } from "react";
|
||||
|
||||
export const AuthContext = createContext()
|
Loading…
Reference in New Issue