@royaloperahouse/harmonic 0.12.1-a → 0.12.1-b
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/components/molecules/SkipToMain/SkipToMain.d.ts +1 -1
- package/dist/harmonic.cjs.development.js +1 -1
- 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 +1 -1
- package/dist/harmonic.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/harmonic.esm.js
CHANGED
|
@@ -11106,7 +11106,7 @@ var SkipToMain = function SkipToMain(_ref) {
|
|
|
11106
11106
|
targetElement = _useState[0],
|
|
11107
11107
|
setTargetElement = _useState[1];
|
|
11108
11108
|
// TODO: Implement SSR behaviour.
|
|
11109
|
-
if (typeof document === 'undefined') return null;
|
|
11109
|
+
if (typeof document === 'undefined') return /*#__PURE__*/React__default.createElement("div", null, "Im being server-side rendered");
|
|
11110
11110
|
useEffect(function () {
|
|
11111
11111
|
var checkForTarget = function checkForTarget() {
|
|
11112
11112
|
var element = document.getElementById(skipToTag);
|