From 6464316cb7c029a39b212ab715205d2db4c3df55 Mon Sep 17 00:00:00 2001 From: "Rayyan (Rayy)" Date: Tue, 19 Sep 2023 10:45:59 +0000 Subject: [PATCH] Add AuthContexts to App.js --- src/App.js | 3 +++ src/contexts/AuthContext.js | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/App.js b/src/App.js index a0099de..470d9f0 100644 --- a/src/App.js +++ b/src/App.js @@ -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() { diff --git a/src/contexts/AuthContext.js b/src/contexts/AuthContext.js index e69de29..8052c77 100644 --- a/src/contexts/AuthContext.js +++ b/src/contexts/AuthContext.js @@ -0,0 +1,3 @@ +import { createContext } from "react"; + +export const AuthContext = createContext() \ No newline at end of file