@trackunit/react-graphql-hooks 1.9.1 → 1.10.2
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 +1 -0
- package/index.esm.js +1 -0
- package/package.json +4 -4
package/index.cjs.js
CHANGED
|
@@ -284,6 +284,7 @@ const usePaginationQuery = (document, props) => {
|
|
|
284
284
|
// However, if you need to pass in your own onError function, you can do so in the props of the hook.
|
|
285
285
|
// But we ignore the error if the request was aborted.
|
|
286
286
|
}).catch(error => {
|
|
287
|
+
setIsLoading(false);
|
|
287
288
|
if (abortController.signal.aborted) {
|
|
288
289
|
return;
|
|
289
290
|
}
|
package/index.esm.js
CHANGED
|
@@ -282,6 +282,7 @@ const usePaginationQuery = (document, props) => {
|
|
|
282
282
|
// However, if you need to pass in your own onError function, you can do so in the props of the hook.
|
|
283
283
|
// But we ignore the error if the request was aborted.
|
|
284
284
|
}).catch(error => {
|
|
285
|
+
setIsLoading(false);
|
|
285
286
|
if (abortController.signal.aborted) {
|
|
286
287
|
return;
|
|
287
288
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-graphql-hooks",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.2",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@apollo/client": "3.13.8",
|
|
11
11
|
"react": "19.0.0",
|
|
12
|
-
"@trackunit/i18n-library-translation": "1.9.
|
|
13
|
-
"@trackunit/shared-utils": "1.11.
|
|
12
|
+
"@trackunit/i18n-library-translation": "1.9.3",
|
|
13
|
+
"@trackunit/shared-utils": "1.11.3",
|
|
14
14
|
"es-toolkit": "^1.39.10",
|
|
15
|
-
"@trackunit/react-components": "1.12.
|
|
15
|
+
"@trackunit/react-components": "1.12.4"
|
|
16
16
|
},
|
|
17
17
|
"module": "./index.esm.js",
|
|
18
18
|
"main": "./index.cjs.js",
|