Skip to content

Commit

Permalink
Update App.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Riteshp2001 authored Sep 23, 2023
1 parent be81512 commit a0b3a52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -16,6 +16,7 @@ function App() {
};

const handleAddTask = (taskText, day) => {
if(taskText==="")return;
const currentDate = new Date().toLocaleDateString();
const newTask = {
day: currentDate,

0 comments on commit a0b3a52

Please sign in to comment.