Skip to content

Commit

Permalink
Update TodoList.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
EuJinnLucaShow committed Jan 3, 2024
1 parent dc285fb commit 9ea10d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/TodoList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ const TodoList = () => {
setItems(items);
console.log(items);
console.log(todos);
// const reversed = [...items].reverse();
// dispatch(sendTodos(reversed));
const reversed = [...items].reverse();
dispatch(sendTodos(reversed));
};

return (
Expand Down

0 comments on commit 9ea10d8

Please sign in to comment.