import { createContext } from 'react';

type AuthContextType = {
  authorized: boolean;
  isLoading: boolean;
  setAuthorized: (value: boolean) => void;
};

export const AuthContext = createContext<AuthContextType>({
  authorized: false,
  isLoading: true,
  setAuthorized: () => {},
});
