Files
agency/.pnpm-store/v3/files/e6/305a544a38d078ede643ad6d4774c6488c295ca6f589c550e6e8463a2b0762305691e58b847a0c8d1617a84a71baaceaadb0b179a299fedb3166626b4fb9e9
hanzo-agent 5af6960b87 run project
Run: sess_f37640604ae254cb4d11dc6217f7b721
2026-09-30 00:04:56 +00:00

13 lines
456 B
Plaintext

import * as React from 'react';
/**
* On the server, React emits a warning when calling `useLayoutEffect`.
* This is because neither `useLayoutEffect` nor `useEffect` run on the server.
* We use this safe version which suppresses the warning by replacing it with a noop on the server.
*
* See: https://reactjs.org/docs/hooks-reference.html#uselayouteffect
*/
declare const useLayoutEffect: typeof React.useLayoutEffect;
export { useLayoutEffect };