This commit is contained in:
hamid zarghami
2025-10-12 15:31:00 +03:30
parent 37ed9bc074
commit 7859388439
7 changed files with 152 additions and 2 deletions
+13
View File
@@ -133,3 +133,16 @@ export const useDeleteLearning = () => {
},
});
};
export const useGetContentContract = () => {
return useQuery({
queryKey: ["content-contract"],
queryFn: api.getContentContract,
});
};
export const useUpdateContract = () => {
return useMutation({
mutationFn: api.updateContract,
});
};