Skip to content

Commit 3508bad

Browse files
committed
Update README.md
1 parent 14bf4d5 commit 3508bad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ Using the `group` option to drag elements from one list into another.
5555
File: index.jsx
5656
```js
5757
import React from 'react';
58+
import ReactDOM from 'react-dom';
5859
import Sortable1 from './sortable1';
5960
import Sortable1 from './sortable2';
6061

@@ -68,7 +69,7 @@ const SortableList = (props) => {
6869
);
6970
};
7071

71-
React.render(<SortableList />, document.body);
72+
ReactDOM.render(<SortableList />, document.body);
7273
```
7374

7475
File: sortable1.jsx

0 commit comments

Comments
 (0)