@meduza/ui-kit-2 0.1.97 → 0.1.99

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.
@@ -2640,13 +2640,13 @@ var ShopRelatedBlock = function ShopRelatedBlock(_ref) {
2640
2640
  useEffect(function () {
2641
2641
  if (inView) {
2642
2642
  if (onlyOn === 'mobile' && window.innerWidth <= 511 || onlyOn === 'desktop' && window.innerWidth >= 512 || !onlyOn) {
2643
- postMessage('richRelated', url, 'view');
2643
+ postMessage('productRelated', url, 'view');
2644
2644
  }
2645
2645
  }
2646
2646
  }, [inView]);
2647
2647
 
2648
2648
  var handleClick = function handleClick() {
2649
- postMessage('richRelated', url, 'click');
2649
+ postMessage('productRelated', url, 'click');
2650
2650
  };
2651
2651
 
2652
2652
  var classNames = [[styles$D.root, true], [styles$D.hasGradient, !!gradients], [styles$D[onlyOn], !!onlyOn && !!styles$D[onlyOn]]];