Skip to content

Commit 8ac1860

Browse files
authored
Fix typo (#22)
1 parent 79aa4b9 commit 8ac1860

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ You can listen to Sortable events by adding the listeners to the `Sortable` comp
9090

9191
### Vuex
9292

93-
No changes are necessary to work with Vuex. Just pass `store.state.item` as your list. To modify your data you need to manually listen to the events and calculate the new position with `event.oldIndex` and `event.newIndex` with something like the following:
93+
No changes are necessary to work with Vuex. Just pass `store.state.items` as your list. To modify your data you need to manually listen to the events and calculate the new position with `event.oldIndex` and `event.newIndex` with something like the following:
9494

9595
```typescript
9696
const moveItemInArray = <T>(array: T[], from: number, to: number) => {

0 commit comments

Comments
 (0)