style: remove redundant PR state label from worktree card header (#128)

The PR state (merged/open/closed/draft) is already accessible via tooltip,
so the inline text label in the header is unnecessary visual noise.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jinjing
2026-03-26 16:06:59 -07:00
committed by GitHub
co-authored by Claude Opus 4.6
parent 30c01f4c29
commit d7895d575d
@@ -265,19 +265,6 @@ const WorktreeCard = React.memo(function WorktreeCard({
</TooltipContent>
</Tooltip>
)}
{pr && (
<span
className={cn(
'text-[9px] font-bold uppercase tracking-wider h-3.5 flex items-center',
pr.state === 'merged' && 'text-purple-500/80',
pr.state === 'open' && 'text-emerald-500/80',
pr.state === 'closed' && 'text-muted-foreground/60',
pr.state === 'draft' && 'text-muted-foreground/50'
)}
>
{prStateLabel(pr.state)}
</span>
)}
</div>
</div>