This commit is contained in:
hamid zarghami
2025-04-15 16:37:25 +03:30
parent 9bba9156a3
commit afacc7c488
26 changed files with 458 additions and 103 deletions
+8
View File
@@ -0,0 +1,8 @@
import { useMutation } from "@tanstack/react-query";
import * as api from "../service/ContactService";
export const useCreateContact = () => {
return useMutation({
mutationFn: api.createContact,
});
};