import '../../../../../node_modules/preact/compat/dist/compat.module.mjs';
import { useLayoutEffect as y, useEffect as p } from '../../../../../node_modules/preact/hooks/dist/hooks.module.mjs';

// cc https://medium.com/@alexandereardon/uselayouteffect-and-ssr-192986cdcf7a
const useIsomorphicLayoutEffect = typeof window !== 'undefined' ? y : p;

export { useIsomorphicLayoutEffect as default };
//# sourceMappingURL=useIsomorphicLayoutEffect.mjs.map
