import { useState, useEffect } from "react";

export function useAuth() {
  const [user, setUser] = useState<any>(null);
  const [loading, setLoading] = useState(true);

  useEffect(() => {
    // Basic auth check logic will go here
    setLoading(false);
  }, []);

  return { user, loading };
}
