'use client';

import { createContext } from 'react';

type AuthContextType = {
    authenticated: boolean;
    loading: boolean;
    login: (email: string, password: string) => void;
    setAuthenticated: (auth: boolean) => void;
  };
// ----------------------------------------------------------------------

export const AuthContext = createContext({} as AuthContextType);