create catalog

This commit is contained in:
hamid zarghami
2026-03-09 15:32:21 +03:30
parent ff62b6c944
commit eac16c423b
8 changed files with 116 additions and 20 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import * as api from "../service/HomeService";
import { useMutation } from "@tanstack/react-query";
export const useHomeData = () => {
export const useCreateCatalog = () => {
return useMutation({
mutationFn: api.createCatalog,
});