import { useMutation } from "@tanstack/react-query";
import { sendFeedback } from "../service/Service";
import { FeedbackType } from "../types/Types";

export const useSendFeedback = () => {
  return useMutation({
    mutationFn: (params: FeedbackType) => sendFeedback(params),
  });
};
