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

Merge branch 'feature/refactor' into 'main'

fix date in modal

See merge request !20
parents 8b048b99 27d94622
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 }) { ...@@ -11,7 +11,7 @@ export default function Todolist({ selectedDate=null }) {
return { return {
name: "", name: "",
isCompleted: false, 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