Browse Source

fix code style in concurrent-mode-reference.md (#2553)

main
Tigran Matsakyan 5 years ago
committed by Alexey Pyltsyn
parent
commit
bbea522119
  1. 2
      content/docs/concurrent-mode-reference.md

2
content/docs/concurrent-mode-reference.md

@ -174,7 +174,7 @@ A good example of this is a text input.
```js ```js
function App() { function App() {
const [text, setText] = useState("hello"); const [text, setText] = useState("hello");
const deferredText = useDeferredValue(text, {timeoutMs: 2000 }); const deferredText = useDeferredValue(text, { timeoutMs: 2000 });
return ( return (
<div className="App"> <div className="App">

Loading…
Cancel
Save