-
{project.name}
-
- {tasks.filter((t) => t.projectId === project.id).length}
-
-
- ))}
-
- {showNewProject ? (
-
- setNewProjectName(e.target.value)}
- placeholder="Project name"
- className="flex-1 px-3 py-2 bg-slate-800 border border-slate-700 rounded-lg text-sm text-white placeholder-slate-500 focus:outline-none focus:border-blue-500"
- onKeyDown={(e) => e.key === "Enter" && handleAddProject()}
- />
-
-
-
- ) : (
-
- )}
-
-
-
- {/* Task Type Legend */}
-
-
-
- Types
-
-
-
- {Object.entries(typeLabels).map(([type, label]) => (
-
-
- {label}
+
{project.name}
))}