Browse Source

Fix copypasta

main
Dan Abramov 2 years ago
parent
commit
1aadd781e7
  1. 2
      beta/src/content/apis/react/useLayoutEffect.md

2
beta/src/content/apis/react/useLayoutEffect.md

@ -10,7 +10,7 @@ title: useLayoutEffect
<Intro>
`useLayoutEffect` is a version of [`useEffect`](/apis/react/useEffect) that fires before any DOM mutations.
`useLayoutEffect` is a version of [`useEffect`](/apis/react/useEffect) that fires before the browser repaints the screen.
```js
useLayoutEffect(setup, dependencies?)

Loading…
Cancel
Save