Skip to content

Commit

Permalink
Update TodoList.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
EuJinnLucaShow committed Dec 29, 2023
1 parent 39068ee commit 76fb7b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/TodoList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const TodoList = () => {

useEffect(() => {
setItems(paginatedTodos);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [currentPage, todos]);

useEffect(() => {
Expand Down

0 comments on commit 76fb7b1

Please sign in to comment.