umwd-components 0.1.690 → 0.1.692

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umwd-components",
3
- "version": "0.1.690",
3
+ "version": "0.1.692",
4
4
  "description": "UMWD Component library",
5
5
  "main": "dist/src/index.js",
6
6
  "module": "dist/src/index.js",
@@ -41,7 +41,7 @@ export async function getPaginatedCategories(
41
41
  sort: `${orderBy || "id"}:${order || "desc"}`,
42
42
  pagination: {
43
43
  pageSize: rowsPerPage || 4,
44
- page: currentPage ? currentPage + 1 : 1, // because table pagination starts at 0 but strapi starts at 1
44
+ page: currentPage ? currentPage : 1, // because table pagination starts at 0 but strapi starts at 1
45
45
  },
46
46
  });
47
47