`export const formatTaskList = (tasks) => {
for (let i = 0; i < tasks.length; i++) {
if (tasks[i].status == 'DONE') {
tasks[i] = 'id: ' + tasks[i].id + ' ' + 'title: ' + '\u2705' + tasks[i].title + ' status: ' + tasks[i].status;
}
else {
tasks[i] = 'id: ' + tasks[i].id + ' ' + 'title: ' + '\u274c' + tasks[i].title + ' status: ' + tasks[i].status;
}
}
return tasks;
}
`