Comparing version 2.4.8 to 2.4.9
@@ -53,7 +53,4 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2"; | ||
var cacheElementRef = useRef(null); | ||
function getDomElement() { | ||
var element = getElement(); | ||
return element || cacheElementRef.current; | ||
return getElement(); | ||
} // ========================== Motion End ========================== | ||
@@ -60,0 +57,0 @@ |
@@ -72,7 +72,4 @@ "use strict"; | ||
var cacheElementRef = (0, React.useRef)(null); | ||
function getDomElement() { | ||
var element = getElement(); | ||
return element || cacheElementRef.current; | ||
return getElement(); | ||
} // ========================== Motion End ========================== | ||
@@ -79,0 +76,0 @@ |
{ | ||
"name": "rc-motion", | ||
"version": "2.4.8", | ||
"version": "2.4.9", | ||
"description": "React lifecycle controlled motion library", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
89882
1914