use-click-outside-close
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "use-click-outside-close", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "use-click-outside.js", |
@@ -23,3 +23,3 @@ import { useEffect } from 'react'; | ||
document.removeEventListener('touchstart', listener); | ||
document.addEventListener(eventType, listener); | ||
document.removeEventListener(eventType, listener); | ||
}; | ||
@@ -29,2 +29,2 @@ }, [ref, handler]); | ||
export default useOnClickOutside; | ||
export default useOnClickOutside; |
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
2080
20