DEV Community

Discussion on: Drag and drop with Svelte using svelte-dnd-action

 
isaachagoel profile image
Isaac Hagoel

line 30 should be {#each items as todo(todo.id)}
you are iterating over a variable you are not updating in handleSort

Thread Thread
 
ivan_jrmc profile image
Ivan Jeremic

thanks