@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.js
CHANGED
package/dist/lottie.cjs
CHANGED
|
@@ -16426,7 +16426,6 @@ function useLottie({
|
|
|
16426
16426
|
});
|
|
16427
16427
|
const container = containerRef.current;
|
|
16428
16428
|
let isHovering = false;
|
|
16429
|
-
let hasPlayedInitial = false;
|
|
16430
16429
|
const handleMouseEnter = () => {
|
|
16431
16430
|
isHovering = true;
|
|
16432
16431
|
if (loopOnHover) {
|
|
@@ -16444,7 +16443,6 @@ function useLottie({
|
|
|
16444
16443
|
};
|
|
16445
16444
|
const stopAfterInitialPlay = () => {
|
|
16446
16445
|
if (!isHovering) {
|
|
16447
|
-
hasPlayedInitial = true;
|
|
16448
16446
|
anim.pause();
|
|
16449
16447
|
}
|
|
16450
16448
|
};
|