@umijs/use-request
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -128,3 +128,3 @@ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); } | ||
var scrollMethod = useCallback(function () { | ||
if (loading || !ref || !ref.current) { | ||
if (loading || loadingMore || !ref || !ref.current) { | ||
return; | ||
@@ -131,0 +131,0 @@ } |
@@ -139,3 +139,3 @@ "use strict"; | ||
var scrollMethod = (0, _react.useCallback)(function () { | ||
if (loading || !ref || !ref.current) { | ||
if (loading || loadingMore || !ref || !ref.current) { | ||
return; | ||
@@ -142,0 +142,0 @@ } |
{ | ||
"name": "@umijs/use-request", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "React Hooks for fetching, caching and updating asynchronous data", | ||
@@ -38,3 +38,3 @@ "main": "./lib/index.js", | ||
"devDependencies": { | ||
"@umijs/hooks": "^1.9.0", | ||
"@umijs/hooks": "^1.9.1", | ||
"axios": "^0.19.2" | ||
@@ -41,0 +41,0 @@ }, |
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
123606