diff --git a/src/contexts/AuthContext.tsx b/src/contexts/AuthContext.tsx index 789d11f..7ba47ec 100644 --- a/src/contexts/AuthContext.tsx +++ b/src/contexts/AuthContext.tsx @@ -1,4 +1,4 @@ -import { createContext } from 'react'; +import { createContext, useState } from 'react'; import { UserDTO } from '@dtos/UserDTO'; @@ -13,17 +13,12 @@ type AuthContextProviderProps = { export const AuthContext = createContext({} as AuthContextData); export function AuthContextProvider({ children }: AuthContextProviderProps) { - return ( - - {children} - - ); + const [user, setUser] = useState({ + id: '1', + name: 'John Doe', + email: 'john.doe@email.com', + avatar: 'https://i.pravatar.cc/200', + }); + + return {children}; }