"use strict";

var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var React = _interopRequireWildcard(require("react"));

var _dom = require("../../dom");

var useSafeLayoutEffect = _dom.canUseDOM ? React.useLayoutEffect : React.useEffect;
var _default = useSafeLayoutEffect;
exports.default = _default;