Skip to content

Commit

Permalink
Summary
Browse files Browse the repository at this point in the history
  • Loading branch information
EuJinnLucaShow committed Jan 3, 2024
1 parent 9ea10d8 commit c6bffdc
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 86 deletions.
153 changes: 69 additions & 84 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions src/components/TodoList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ const TodoList = () => {
const [removed] = items.splice(result.source.index, 1);
items.splice(result.destination.index, 0, removed);
setItems(items);
console.log(items);
console.log(todos);

const reversed = [...items].reverse();
dispatch(sendTodos(reversed));
};
Expand Down

0 comments on commit c6bffdc

Please sign in to comment.