import React from 'react';
// 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.useLayoutEffect : React.useEffect;
export default useIsomorphicLayoutEffect;