@trackunit/react-graphql-hooks 2.17.33 → 2.17.34
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/index.cjs.js +2 -1
- package/index.esm.js +2 -1
- package/package.json +4 -4
package/index.cjs.js
CHANGED
|
@@ -578,11 +578,12 @@ const usePaginationQuery = (document, props) => {
|
|
|
578
578
|
hasLoadedDataRef.current = false;
|
|
579
579
|
dispatch({ type: "RESET" });
|
|
580
580
|
reset();
|
|
581
|
+
setPageInfo(null);
|
|
581
582
|
}
|
|
582
583
|
else {
|
|
583
584
|
dispatch({ type: "INCREMENT_RESET_TRIGGER" });
|
|
584
585
|
}
|
|
585
|
-
}, [stableVariables, reset]);
|
|
586
|
+
}, [stableVariables, reset, setPageInfo]);
|
|
586
587
|
react.useEffect(() => {
|
|
587
588
|
isInitializedRef.current = true;
|
|
588
589
|
}, []);
|
package/index.esm.js
CHANGED
|
@@ -576,11 +576,12 @@ const usePaginationQuery = (document, props) => {
|
|
|
576
576
|
hasLoadedDataRef.current = false;
|
|
577
577
|
dispatch({ type: "RESET" });
|
|
578
578
|
reset();
|
|
579
|
+
setPageInfo(null);
|
|
579
580
|
}
|
|
580
581
|
else {
|
|
581
582
|
dispatch({ type: "INCREMENT_RESET_TRIGGER" });
|
|
582
583
|
}
|
|
583
|
-
}, [stableVariables, reset]);
|
|
584
|
+
}, [stableVariables, reset, setPageInfo]);
|
|
584
585
|
useEffect(() => {
|
|
585
586
|
isInitializedRef.current = true;
|
|
586
587
|
}, []);
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-graphql-hooks",
|
|
3
|
-
"version": "2.17.
|
|
3
|
+
"version": "2.17.34",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=24.x"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@trackunit/i18n-library-translation": "2.14.
|
|
11
|
-
"@trackunit/shared-utils": "1.22.
|
|
10
|
+
"@trackunit/i18n-library-translation": "2.14.30",
|
|
11
|
+
"@trackunit/shared-utils": "1.22.38",
|
|
12
12
|
"es-toolkit": "^1.52.0",
|
|
13
|
-
"@trackunit/react-components": "6.0.
|
|
13
|
+
"@trackunit/react-components": "6.0.32"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"@apollo/client": "^3.13.8",
|