@magento/peregrine 15.7.2-alpha2 → 15.7.2-alpha3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -49,6 +49,7 @@ export const useCategory = props => {
|
|
|
49
49
|
nextFetchPolicy: 'cache-first'
|
|
50
50
|
});
|
|
51
51
|
const pageSize = pageSizeData && pageSizeData.storeConfig.grid_per_page;
|
|
52
|
+
const storeConfig = pageSizeData && pageSizeData.storeConfig;
|
|
52
53
|
|
|
53
54
|
const [paginationValues, paginationApi] = usePagination();
|
|
54
55
|
const { currentPage, totalPages } = paginationValues;
|
|
@@ -222,6 +223,7 @@ export const useCategory = props => {
|
|
|
222
223
|
pageControl,
|
|
223
224
|
sortProps,
|
|
224
225
|
pageSize,
|
|
225
|
-
categoryNotFound
|
|
226
|
+
categoryNotFound,
|
|
227
|
+
storeConfig
|
|
226
228
|
};
|
|
227
229
|
};
|