print base

This commit is contained in:
hamid zarghami
2026-02-02 09:09:36 +03:30
parent 3d53661c9a
commit 6383cbb975
6 changed files with 64 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
import { useQuery } from "@tanstack/react-query";
import * as api from "../service/PrintService";
export const useGetSections = () => {
return useQuery({
queryKey: ["sections"],
queryFn: api.getSections,
});
};