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 };