@buffetjs/hooks
Advanced tools
Comparing version 3.1.0-next.1 to 3.1.0-next.3
@@ -11,3 +11,3 @@ "use strict"; | ||
function useIsMounted() { | ||
var ref = (0, _react.useRef)(false); | ||
var ref = (0, _react.useRef)(true); | ||
(0, _react.useEffect)(function () { | ||
@@ -19,5 +19,3 @@ ref.current = true; | ||
}, []); | ||
return function () { | ||
return ref.current; | ||
}; | ||
return ref.current; | ||
} | ||
@@ -24,0 +22,0 @@ |
{ | ||
"name": "@buffetjs/hooks", | ||
"version": "3.1.0-next.1", | ||
"version": "3.1.0-next.3", | ||
"description": "Buffetjs react-hooks", | ||
@@ -39,3 +39,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "927a3eee587f1868fc8ce202569e1f6c3dbe57e9" | ||
"gitHead": "0999a284c87d58d1b1db3f1dede16f0b20b1cf67" | ||
} |
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
9907
211