@sledge-app/react-instant-search 1.0.79 → 1.0.80
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.
|
@@ -1695,7 +1695,7 @@ const Trigger = (props) => {
|
|
|
1695
1695
|
handleCheckWishlist();
|
|
1696
1696
|
}, [isRenderAppWishlist, hasEntry, productVariantId]);
|
|
1697
1697
|
const isActive = (isWishlist || forceActive) && !isRequiredLogin;
|
|
1698
|
-
const
|
|
1698
|
+
const wishlistActive = isActive || mouseEnter;
|
|
1699
1699
|
React__default.useEffect(() => {
|
|
1700
1700
|
if (isActive) {
|
|
1701
1701
|
setColorIcon(activeColorIcon);
|
|
@@ -1709,8 +1709,8 @@ const Trigger = (props) => {
|
|
|
1709
1709
|
"div",
|
|
1710
1710
|
{
|
|
1711
1711
|
className: "sledge-wishlist__trigger-block",
|
|
1712
|
-
...
|
|
1713
|
-
["
|
|
1712
|
+
...wishlistActive && {
|
|
1713
|
+
["wishlist-active"]: ""
|
|
1714
1714
|
},
|
|
1715
1715
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1716
1716
|
"span",
|