Skip to content

Commit 7bf18f4

Browse files
Update createRoot.md
- remove indent spaces - fix codeblock fences
1 parent 7253bef commit 7bf18f4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/content/reference/react-dom/client/createRoot.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,9 @@ const root = createRoot(container, {
549549
}
550550
});
551551
root.render(<App />);
552-
``````js src/App.js
552+
```
553+
554+
```js src/App.js
553555
import { useState } from 'react';
554556

555557
export default function App() {

0 commit comments

Comments
 (0)