mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
Fix description to match code in referencing-values-with-refs.md (#4097)
This commit is contained in:
@@ -82,7 +82,7 @@ const [startTime, setStartTime] = useState(null);
|
||||
const [now, setNow] = useState(null);
|
||||
```
|
||||
|
||||
When the user presses "Start," you'll use [`setInterval`](https://developer.mozilla.org/docs/Web/API/setInterval) in order to update the time every 10 milliseconds:
|
||||
When the user presses "Start," you'll use [`setInterval`](https://developer.mozilla.org/docs/Web/API/setInterval) in order to update the time every 100 milliseconds:
|
||||
|
||||
<Sandpack>
|
||||
|
||||
@@ -656,4 +656,4 @@ export default function Chat() {
|
||||
|
||||
</Solution>
|
||||
|
||||
</Challenges>
|
||||
</Challenges>
|
||||
|
||||
Reference in New Issue
Block a user