import { useQuery } from "@tanstack/react-query";
import * as api from "../service/HomeService";

export const useGetLanding = () =>
  useQuery({
    queryKey: ["landing"],
    queryFn: api.getLanding,
  });

export const landingQueryOptions = {
  queryKey: ["landing"],
  queryFn: api.getLanding,
};
