import { useQuery } from "@tanstack/react-query";
import { getPreviewDetails } from "../api/preview.api";

export const usePreviewDetails = () =>
  useQuery({
    queryKey: ["preview-details"],
    queryFn: getPreviewDetails,
  });
