This commit is contained in:
hamid zarghami
2026-01-24 15:52:56 +03:30
parent cb174bf0dc
commit 480fc056f9
5 changed files with 56 additions and 40 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ export const useGetCategoryDetail = (id: string) => {
export const useGetProducts = () => {
return useQuery({
queryKey: ["products"],
queryFn: api.getCategory,
queryFn: api.getProducts,
});
};