import { useEffect as o, useLayoutEffect as r } from "react";
import { env as s } from "../utils/env.js";
let i = (e, f) => {
  s.isServer ? o(e, f) : r(e, f);
};
export {
  i as useIsoMorphicEffect
};
