persona-community-5/.pnpm-store/v3/files/e6/305a544a38d078ede643ad6d4774c6488c295ca6f589c550e6e8463a2b0762305691e58b847a0c8d1617a84a71baaceaadb0b179a299fedb3166626b4fb9e9
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +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 };