update
This commit is contained in:
@@ -39,7 +39,7 @@ export const useGetCategoryDetail = (id: string) => {
|
||||
export const useGetProducts = () => {
|
||||
return useQuery({
|
||||
queryKey: ["products"],
|
||||
queryFn: api.getCategory,
|
||||
queryFn: api.getProducts,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user