ublo-lib 1.44.21 → 1.44.22
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.
|
@@ -12,9 +12,7 @@ const CrossSellingOffers = ({ kind, cart, closeDialog, zoneId, zonePath }) => {
|
|
|
12
12
|
const currentCart = cart.cart.cart;
|
|
13
13
|
const offers = useTunnelOffers(zoneId, zonePath, currentCart);
|
|
14
14
|
const handleCrossSellingClick = (e) => {
|
|
15
|
-
|
|
16
|
-
closeDialog();
|
|
17
|
-
}
|
|
15
|
+
window.requestAnimationFrame(() => window.requestAnimationFrame(closeDialog));
|
|
18
16
|
const sections = Array.from(ref.current.querySelectorAll("section"));
|
|
19
17
|
const section = e.target.closest("section");
|
|
20
18
|
const link = section.querySelector("a");
|