Skip to content

Commit

Permalink
docs(useSortable): fix typo (#4274)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidglezz authored Oct 24, 2024
1 parent 277ede8 commit 7c0baf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/integrations/useSortable/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ useSortable(el, list, {
onUpdate: (e) => {
// do something
moveArrayElement(list.value, e.oldIndex, e.newIndex)
// nextTick required here as moveArrayElement is executed in a microtas
// nextTick required here as moveArrayElement is executed in a microtask
// so we need to wait until the next tick until that is finished.
nextTick(() => {
/* do something */
Expand Down

0 comments on commit 7c0baf2

Please sign in to comment.