We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c0d1ec commit bdc68f8Copy full SHA for bdc68f8
front/example-app/src/hooks/useProducts.ts
@@ -114,6 +114,9 @@ export function useProducts(
114
if (search) {
115
variables.search = search
116
}
117
+ if (currentCategoryId) {
118
+ variables.currentCategoryId = currentCategoryId
119
+ }
120
if (queryFilters.category__id) {
121
variables.currentCategoryId = (
122
queryFilters.category__id as ICategoryTypeDefaultFilterInputType
0 commit comments