'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var react = require('react');

var index = typeof document !== 'undefined' ? react.useLayoutEffect : react.useEffect;

exports.default = index;
