@hybr1d-tech/charizard 0.7.3 → 0.7.4
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/dist/hybr1d-ui.js +2 -2
- package/dist/hybr1d-ui.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/hybr1d-ui.js
CHANGED
|
@@ -8709,10 +8709,10 @@ function ho({ paginationConfig: e }) {
|
|
|
8709
8709
|
), i = ln.connect(s, l, w0);
|
|
8710
8710
|
f.useEffect(() => {
|
|
8711
8711
|
i.setPage(e.page + 1);
|
|
8712
|
-
}, []), f.useEffect(() => {
|
|
8712
|
+
}, [e.page]), f.useEffect(() => {
|
|
8713
8713
|
i.setCount((o == null ? void 0 : o.total_items) || 0);
|
|
8714
8714
|
}, [o == null ? void 0 : o.total_items, a]), f.useEffect(() => {
|
|
8715
|
-
i.setPageSize(e.limit);
|
|
8715
|
+
i.setPage(1), i.setPageSize(e.limit);
|
|
8716
8716
|
}, [a]);
|
|
8717
8717
|
const c = o != null && o.page_no ? o.page_no : 0, r = c * ((o == null ? void 0 : o.items_on_page) || 0) + 1, u = Math.min(
|
|
8718
8718
|
c * ((o == null ? void 0 : o.items_on_page) || 0) + a,
|