comment + favorive

This commit is contained in:
hamid zarghami
2025-09-17 12:29:58 +03:30
parent bc22bbd6d9
commit f849ebdb42
15 changed files with 562 additions and 85 deletions
+14
View File
@@ -38,3 +38,17 @@ export const useUpdateAddress = () => {
api.updateAddress(addressData),
});
};
export const useGetWithList = () => {
return useQuery({
queryKey: ["with-list"],
queryFn: api.getWithList,
});
};
export const useGetComments = () => {
return useQuery({
queryKey: ["comments"],
queryFn: api.getComments,
});
};