From 8f52bb28e18184b9f9b8b6d682a8063cd6b89edb Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Wed, 25 Sep 2024 12:07:24 +0530 Subject: [PATCH] refactor: rename to AuthContext --- src/context/auth.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/context/auth.tsx b/src/context/auth.tsx index 1d410f0c..312beeab 100644 --- a/src/context/auth.tsx +++ b/src/context/auth.tsx @@ -19,7 +19,7 @@ const initialState = { user: null, }; -const Context = createContext<{ +const AuthContext = createContext<{ state: InitialStateType; dispatch: any; }>({ @@ -96,8 +96,8 @@ const Provider = ({ children }: ProviderProps) => { }, []); return ( - {children} + {children} ); }; -export { Context, Provider }; +export { AuthContext, Provider };