added debounce to - + buttons

This commit is contained in:
Jelaletdin12 committed 2025-11-16 23:37:21 +05:00
1 parent f867896817
commit 4fe0fb3d4e
52 files changed
+2548 -2253

No files matched your search

+1 -1
View File
@@ -101,7 +101,7 @@ export function useCollectionHasProducts(
queryFn: async () => {
const response = await apiClient.get<PaginatedResponse<Product>>(
`/collections/${collectionId}/products`,
{ params: { perPage: 1 } }
{ params: { perPage: 20 } }
);
return {
hasProducts: response.data.data && response.data.data.length > 0,