10000 Merge pull request #47 from TheBearSO/patch-1 · JoPFullJS/react-sortable@c9d1ab3 · GitHub
[go: up one dir, main page]

Skip to content

Commit c9d1ab3

Browse files
authored
Merge pull request SortableJS#47 from TheBearSO/patch-1
(Fix) Typo with imports in two code samples
2 parents 33c2002 + d6beedd commit c9d1ab3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ A controlled component will keep DOM nodes untouched. You have to change state t
186186
import uniqueId from 'lodash/uniqueId';
187187
import React from 'react';
188188
import ReactDOM from 'react-dom';
189-
import Sortable from '../src';
189+
import Sortable from 'react-sortablejs';
190190

191191
class App extends React.Component {
192192
state = {
@@ -224,7 +224,7 @@ File: shared-group.jsx
224224
```js
225225
import uniqueId from 'lodash/uniqueId';
226226
import React from 'react';
227-
import Sortable from '../src';
227+
import Sortable from 'react-sortablejs';
228228

229229
// Functional Component
230230
const SharedGroup = ({ items }) => {

0 commit comments

Comments
 (0)
0