comment + favorive
This commit is contained in:
@@ -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,
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user