@royaloperahouse/harmonic 0.17.0-g → 0.17.0-h
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/harmonic.cjs.development.js +3 -0
- package/dist/harmonic.cjs.development.js.map +1 -1
- package/dist/harmonic.cjs.production.min.js +1 -1
- package/dist/harmonic.cjs.production.min.js.map +1 -1
- package/dist/harmonic.esm.js +3 -0
- package/dist/harmonic.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/harmonic.esm.js
CHANGED
|
@@ -8561,6 +8561,8 @@ var PromoWithTags = function PromoWithTags(_ref) {
|
|
|
8561
8561
|
disabledCTACopy = _ref$disabledCTACopy === void 0 ? 'Sold Out' : _ref$disabledCTACopy,
|
|
8562
8562
|
timerParams = _ref.timerParams,
|
|
8563
8563
|
className = _ref.className;
|
|
8564
|
+
var _useViewport = useViewport(),
|
|
8565
|
+
hydrated = _useViewport.hydrated;
|
|
8564
8566
|
var _useState = useState(false),
|
|
8565
8567
|
showExtraContent = _useState[0],
|
|
8566
8568
|
setShowExtraContent = _useState[1];
|
|
@@ -8627,6 +8629,7 @@ var PromoWithTags = function PromoWithTags(_ref) {
|
|
|
8627
8629
|
title: timerParams.title
|
|
8628
8630
|
}));
|
|
8629
8631
|
};
|
|
8632
|
+
if (!hydrated) return null;
|
|
8630
8633
|
return /*#__PURE__*/React__default.createElement(PromoWithTagsGrid, {
|
|
8631
8634
|
id: anchorLink,
|
|
8632
8635
|
"data-testid": "grid-wrapper",
|