feat: remove consoles

This commit is contained in:
Mike 2024-01-07 22:22:34 -05:00
parent f617572abf
commit 9f5f75f6a4
3 changed files with 3 additions and 4 deletions

4
todo/dist/bundle.js vendored

File diff suppressed because one or more lines are too long

View file

@ -54,7 +54,7 @@ class todoHandler {
return compareAsc(new Date(a.dueDate), new Date(b.dueDate)); return compareAsc(new Date(a.dueDate), new Date(b.dueDate));
}); });
console.log(this.projects[index]); // console.log(this.projects[index]);
//(itemA, itemB) => {return itemA.dueDate - itemB.dueDate}) //(itemA, itemB) => {return itemA.dueDate - itemB.dueDate})
} else { } else {
alert('unable to create duplicate note'); alert('unable to create duplicate note');

View file

@ -128,7 +128,6 @@ function addTodo(todoHandler) {
let title = newTodo[0]; let title = newTodo[0];
let description = newTodo[1]; let description = newTodo[1];
let date = newTodo[2]; // new Date(newTodo[2]); let date = newTodo[2]; // new Date(newTodo[2]);
console.log(date);
todoHandler.addTodo(activeProject, title, description, date, 0); todoHandler.addTodo(activeProject, title, description, date, 0);
div.classList.remove('todo-add-active'); div.classList.remove('todo-add-active');
updateDisplay(); updateDisplay();