mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-24 12:43:05 +00:00
Add missing whitespace (#2610)
This commit is contained in:
committed by
Alexey Pyltsyn
parent
5a840c9880
commit
401b97e959
@@ -126,7 +126,7 @@ The `useTransition` hook returns two values in an array.
|
||||
**If some state update causes a component to suspend, that state update should be wrapped in a transition.**
|
||||
|
||||
```js
|
||||
const SUSPENSE_CONFIG = {timeoutMs: 2000 };
|
||||
const SUSPENSE_CONFIG = { timeoutMs: 2000 };
|
||||
|
||||
function App() {
|
||||
const [resource, setResource] = useState(initialResource);
|
||||
|
||||
Reference in New Issue
Block a user