use-throttled-effect
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -28,5 +28,5 @@ 'use strict'; | ||
}; | ||
}, [delay, callback].concat(_toConsumableArray(deps))); | ||
}, [delay].concat(_toConsumableArray(deps))); | ||
}; | ||
exports.default = useThrottledEffect; |
{ | ||
"name": "use-throttled-effect", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Throttled effect hook for react", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -19,3 +19,3 @@ import { useEffect, useRef } from 'react'; | ||
}, | ||
[delay, callback, ...deps], | ||
[delay, ...deps], | ||
); | ||
@@ -22,0 +22,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
91457
8