8 lines
507 B
JavaScript
8 lines
507 B
JavaScript
// Metro module 5321 (f5322).
|
|
import Module19 from "react";
|
|
const window2 = globalThis.window;
|
|
const r0 = (typeof window2 !== "undefined" ? window.document === void 0 : typeof window2 === "undefined") || window.document.createElement === void 0;
|
|
const navigator2 = globalThis.navigator;
|
|
const r1 = typeof navigator2 !== "undefined" ? navigator.product === "ReactNative" : typeof navigator2 !== "undefined";
|
|
export const useIsomorphicLayoutEffect = r0 && !r1 ? Module19.useEffect : Module19.useLayoutEffect;
|