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

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