@front10/utils
Advanced tools
Comparing version 0.97.3 to 0.98.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [0.98.0](https://gitlab.com/front10-dev/front10-helpers/compare/v0.97.3...v0.98.0) (2021-03-12) | ||
### Bug Fixes | ||
* Use (if possible) data source as query key ([aa6e997](https://gitlab.com/front10-dev/front10-helpers/commit/aa6e997e4ca571d96ea6099eb5a0af0de9feca12)) | ||
## [0.97.3](https://gitlab.com/front10-dev/front10-helpers/compare/v0.97.2...v0.97.3) (2021-03-04) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@front10/utils", | ||
"version": "0.97.3", | ||
"version": "0.98.0", | ||
"description": "Helpers for front10 components", | ||
@@ -58,3 +58,3 @@ "author": "Front10", | ||
}, | ||
"gitHead": "5e94f7d4b6518bf0926eaa7c9004800ad512c625" | ||
"gitHead": "30aead23da147077cf838082a2c1db0397b089e5" | ||
} |
@@ -124,6 +124,8 @@ import * as React from "react"; | ||
const [key] = React.useState(() => nanoid()); | ||
const [key] = React.useState(() => | ||
typeof dataSource === "string" ? dataSource : nanoid() | ||
); | ||
return useInfiniteQuery( | ||
[key, props.integrationSettings], | ||
[key, pageSize, props.integrationSettings], | ||
({ pageParam: lastCursor = 0 }) => { | ||
@@ -130,0 +132,0 @@ const result = getData({ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
331004
8947