fix(curriculum): typo in What Are Effects in React (#64464)

This commit is contained in:
Brian Tripp 2025-12-10 12:11:57 -06:00 committed by GitHub
parent 075375700f
commit fbef211027
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -79,7 +79,7 @@ useEffect(() => {
}, []);
```
If you pass in the `count` state as a dependency, the effect runs when the component first render, and when `count` changes:
If you pass in the `count` state as a dependency, the effect runs when the component first renders, and when `count` changes:
```js
useEffect(() => {