diff --git a/src/components/TaskSection.tsx b/src/components/TaskSection.tsx index b402a89..199dd7c 100644 --- a/src/components/TaskSection.tsx +++ b/src/components/TaskSection.tsx @@ -69,11 +69,11 @@ const TaskSection: React.FC = (props) => { {title}
- {Object.entries(taskGroups).map(([name, tasks]) => { + {(Object.entries(taskGroups) ?? []).map(([name, tasks]) => { return (
{name &&

{name}

} - {tasks.map((task) => ( + {(tasks ?? []).map((task) => ( ))}