Skip to content

Commit

Permalink
add and delete tasks test
Browse files Browse the repository at this point in the history
  • Loading branch information
Rizel Scarlett authored Aug 17, 2023
1 parent 819a33e commit 55c3c6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export default function Todo() {
// Filter out any null values from the tasks array.
const validTasks = tasks.filter((task) => task !== null);
setTasks(validTasks);
console.log('this is a test')
setLoading(false);
}

Expand Down

0 comments on commit 55c3c6a

Please sign in to comment.