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

export const useCreateRate = () => {
  return useMutation({
    mutationFn: api.createRate,
  });
};
