@shapesos/clay 0.1.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-XY2OM47L.js → chunk-UKM5VQKW.js} +1 -3
- package/dist/{chunk-XY2OM47L.js.map → chunk-UKM5VQKW.js.map} +1 -1
- package/dist/index.cjs +0 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/lottie.cjs +0 -2
- package/dist/lottie.cjs.map +1 -1
- package/dist/lottie.js +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -17491,7 +17491,6 @@ function useLottie({
|
|
|
17491
17491
|
});
|
|
17492
17492
|
const container = containerRef.current;
|
|
17493
17493
|
let isHovering = false;
|
|
17494
|
-
let hasPlayedInitial = false;
|
|
17495
17494
|
const handleMouseEnter = () => {
|
|
17496
17495
|
isHovering = true;
|
|
17497
17496
|
if (loopOnHover) {
|
|
@@ -17509,7 +17508,6 @@ function useLottie({
|
|
|
17509
17508
|
};
|
|
17510
17509
|
const stopAfterInitialPlay = () => {
|
|
17511
17510
|
if (!isHovering) {
|
|
17512
|
-
hasPlayedInitial = true;
|
|
17513
17511
|
anim.pause();
|
|
17514
17512
|
}
|
|
17515
17513
|
};
|