"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;
var _react = _interopRequireDefault(require("react"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
// A safe version of `useLayoutEffect` that works with SSR.
// On the server, it falls back to `useEffect` to avoid hydration warnings.
// https://reactjs.org/link/uselayouteffect-ssr
var useIsomorphicLayoutEffect = typeof window !== 'undefined' ? _react["default"].useLayoutEffect : _react["default"].useEffect;
var _default = exports["default"] = useIsomorphicLayoutEffect;