Skip to content

Commit 6635f7b

Browse files
gaearonrickhanlonii
authored andcommitted
Fix import in example
1 parent 50888b0 commit 6635f7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The `react` package contains only the functionality necessary to define React co
1010

1111
```js
1212
import { useState } from 'react';
13-
import { createRoot } from 'react-dom';
13+
import { createRoot } from 'react-dom/client';
1414

1515
function Counter() {
1616
const [count, setCount] = useState(0);

0 commit comments

Comments
 (0)