@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
|
@@ -8520,6 +8520,8 @@ var PromoWithTags = function PromoWithTags(_ref) {
|
|
|
8520
8520
|
disabledCTACopy = _ref$disabledCTACopy === void 0 ? 'Sold Out' : _ref$disabledCTACopy,
|
|
8521
8521
|
timerParams = _ref.timerParams,
|
|
8522
8522
|
className = _ref.className;
|
|
8523
|
+
var _useViewport = useViewport(),
|
|
8524
|
+
hydrated = _useViewport.hydrated;
|
|
8523
8525
|
var _useState = React.useState(false),
|
|
8524
8526
|
showExtraContent = _useState[0],
|
|
8525
8527
|
setShowExtraContent = _useState[1];
|
|
@@ -8586,6 +8588,7 @@ var PromoWithTags = function PromoWithTags(_ref) {
|
|
|
8586
8588
|
title: timerParams.title
|
|
8587
8589
|
}));
|
|
8588
8590
|
};
|
|
8591
|
+
if (!hydrated) return null;
|
|
8589
8592
|
return /*#__PURE__*/React__default.createElement(PromoWithTagsGrid, {
|
|
8590
8593
|
id: anchorLink,
|
|
8591
8594
|
"data-testid": "grid-wrapper",
|