import { useQuery } from '@tanstack/react-query';
import { getActivation } from '../api/activation';

export function useActivation() {
  return useQuery({
    queryKey: ['activation'],
    queryFn: getActivation,
    staleTime: 5 * 60 * 1000,
  });
}
