Remove (Main) from task header

This commit is contained in:
cte 2025-03-06 00:56:33 -08:00
parent eea09c595d
commit 845cba4842

View file

@ -175,10 +175,6 @@ const TaskHeader: React.FC<TaskHeaderProps> = ({
flexGrow: 1,
minWidth: 0, // This allows the div to shrink below its content size
}}>
<span style={{ fontWeight: "bold" }}>
Task ({currentTaskItem?.number === 0 ? "Main" : currentTaskItem?.number})
{!isTaskExpanded && ":"}
</span>
{!isTaskExpanded && (
<span style={{ marginLeft: 4 }}>{highlightMentions(task.text, false)}</span>
)}