Skip to content

Commit d77bfd8

Browse files
committed
remove unwanted comments
1 parent a8d2a3d commit d77bfd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/tasks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ const getBuiltTasks = async (tasksSnapshot, searchTerm) => {
100100
const tasks = buildTasks(tasksSnapshot);
101101
const promises = tasks.map(async (task) => fromFirestoreData(task));
102102
let updatedTasks = await Promise.all(promises);
103+
103104
if (searchTerm) {
104105
updatedTasks = updatedTasks.filter((task) => task.title.toLowerCase().includes(searchTerm.toLowerCase()));
105106
}
106-
// updatedTasks = updatedTasks.filter((task) => task.title.toLowerCase().includes(searchTerm.toLowerCase()));
107107

108108
const taskPromises = updatedTasks.map(async (task) => {
109109
task.status = TASK_STATUS[task.status.toUpperCase()] || task.status;

0 commit comments

Comments
 (0)