@trackunit/react-graphql-hooks 2.17.29 → 2.17.31
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 +4 -1
- package/index.esm.js +4 -1
- package/package.json +4 -4
package/index.cjs.js
CHANGED
|
@@ -529,10 +529,13 @@ const usePaginationQuery = (document, props) => {
|
|
|
529
529
|
}
|
|
530
530
|
reportError(new client.ApolloError({ graphQLErrors: result.errors }));
|
|
531
531
|
}, error => {
|
|
532
|
-
setIsLoading(false);
|
|
533
532
|
if (signal.aborted) {
|
|
533
|
+
// Superseded by a fetch for newer variables, which owns the loading state from
|
|
534
|
+
// here on. Switching it off here left the table on "No results" for as long as
|
|
535
|
+
// that replacement took (DAE-921).
|
|
534
536
|
return;
|
|
535
537
|
}
|
|
538
|
+
setIsLoading(false);
|
|
536
539
|
reportError(error);
|
|
537
540
|
});
|
|
538
541
|
}, [
|
package/index.esm.js
CHANGED
|
@@ -527,10 +527,13 @@ const usePaginationQuery = (document, props) => {
|
|
|
527
527
|
}
|
|
528
528
|
reportError(new ApolloError({ graphQLErrors: result.errors }));
|
|
529
529
|
}, error => {
|
|
530
|
-
setIsLoading(false);
|
|
531
530
|
if (signal.aborted) {
|
|
531
|
+
// Superseded by a fetch for newer variables, which owns the loading state from
|
|
532
|
+
// here on. Switching it off here left the table on "No results" for as long as
|
|
533
|
+
// that replacement took (DAE-921).
|
|
532
534
|
return;
|
|
533
535
|
}
|
|
536
|
+
setIsLoading(false);
|
|
534
537
|
reportError(error);
|
|
535
538
|
});
|
|
536
539
|
}, [
|
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.31",
|
|
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.27",
|
|
11
|
+
"@trackunit/shared-utils": "1.22.35",
|
|
12
12
|
"es-toolkit": "^1.52.0",
|
|
13
|
-
"@trackunit/react-components": "6.0.
|
|
13
|
+
"@trackunit/react-components": "6.0.29"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"@apollo/client": "^3.13.8",
|