import { createContext } from "react";

import { User } from "@/entities/User";

export interface AuthContextProps {
	user: User;
}

export const AuthorizedContext = createContext<AuthContextProps | undefined>(
	undefined,
);
