"use strict";

exports.__esModule = true;
exports.useIsomorphicLayoutEffect = exports.default = void 0;

var _react = _interopRequireDefault(require("react"));

var _utils = require("../utils");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var useIsomorphicLayoutEffect = _utils.inBrowser ? _react.default.useLayoutEffect : _react.default.useEffect;
exports.useIsomorphicLayoutEffect = useIsomorphicLayoutEffect;
var _default = useIsomorphicLayoutEffect;
exports.default = _default;