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

This commit is contained in:
kaushalyap
2022-09-02 23:25:19 +05:30
committed by GitHub
parent 808d6d1ede
commit b387ebb873

View File

@@ -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>