Browse Source

Fix wrong highlighted line numbers in nested Profiler example (#3218)

main
Thai Pangsakulyanont 4 years ago
committed by GitHub
parent
commit
eaa502f750
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      content/docs/reference-profiler.md

2
content/docs/reference-profiler.md

@ -49,7 +49,7 @@ render(
```
`Profiler` components can also be nested to measure different components within the same subtree:
```js{2,6,8}
```js{3,5,8}
render(
<App>
<Profiler id="Panel" onRender={callback}>

Loading…
Cancel
Save