Files
dmenu-plus-front/src/app/[name]/(Dialogs)/report/hooks/useReportData.ts
T
hamid zarghami 7348e24d0e report problem
2025-12-14 10:01:30 +03:30

9 lines
208 B
TypeScript

import { useMutation } from "@tanstack/react-query";
import * as api from "../service/ReportService";
export const useCreateReport = () => {
return useMutation({
mutationFn: api.createReport,
});
};