Browse Source

Updated "every 100" to "every 10" to match with the code (#4961)

main
kaushalyap 2 years ago
committed by GitHub
parent
commit
b387ebb873
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      beta/src/pages/learn/referencing-values-with-refs.md

2
beta/src/pages/learn/referencing-values-with-refs.md

@ -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 100 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 10 milliseconds:
<Sandpack>

Loading…
Cancel
Save