+ {(
+ [
+ { key: "overdue", label: "지연", icon:
},
+ { key: "today", label: "오늘 마감", icon:
},
+ { key: "upcoming", label: "D-3 이내", icon:
},
+ ] as const
+ ).map((tab) => (
+
+ ))}
+
+ {isLoading ? (
+
+ {[1, 2, 3].map((i) => (
+
+ ))}
+
+ ) : !hasAnyUrgent ? (
+
+ 모든 작업이 기한 내에 있어요 🎉
+
+ ) : currentList.length === 0 ? (
+
+ 해당하는 작업이 없어요
+
+ ) : (
+
+ {currentList.map((task) => (
+ - router.push(`/project/workspace/${task.project_id}`)}
+ className="flex items-center gap-3 px-3 py-2.5 rounded-lg hover:bg-muted/50 cursor-pointer transition-colors group"
+ >
+ {task.priority && (
+
+ {PRIORITY_LABEL[task.priority]}
+
+ )}
+
+ {task.title}
+
+
+ {task.project_name}
+
+ {task.ended_at && (
+
+ {format(new Date(task.ended_at), "M/d")}
+
+ )}
+
+ ))}
+
+ )}
+