mirror of
https://github.com/reiyua/RaysBookClub.git
synced 2026-01-20 15:37:47 +00:00
Add AuthContexts to App.js
This commit is contained in:
parent
54dfacce1d
commit
6464316cb7
2 changed files with 6 additions and 0 deletions
|
|
@ -17,6 +17,9 @@ import { Signup } from "./pages/Signup"
|
||||||
import { Signout } from "./pages/Signout"
|
import { Signout } from "./pages/Signout"
|
||||||
import { Signin } from "./pages/Signin"
|
import { Signin } from "./pages/Signin"
|
||||||
|
|
||||||
|
// contexts
|
||||||
|
import { AuthContext } from "./contexts/AuthContext"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
import { createContext } from "react";
|
||||||
|
|
||||||
|
export const AuthContext = createContext()
|
||||||
Loading…
Reference in a new issue