Skip to content
Snippets Groups Projects
Commit 27d94622 authored by OUKASSOU Anas's avatar OUKASSOU Anas
Browse files

fix date in modal

parent 40cecb1a
No related branches found
No related tags found
1 merge request!20fix date in modal
......@@ -11,7 +11,7 @@ export default function Todolist({ selectedDate=null }) {
return {
name: "",
isCompleted: false,
dueDate: ""
dueDate: new Date().toISOString().split("T")[0],
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment