Restore checkbox without animation — static div, no motion

This commit is contained in:
Taylor Ho
2026-05-20 22:02:08 -07:00
parent dcf0655330
commit 596c6323bd

View File

@@ -610,6 +610,18 @@ export function QuickAddAgentPopover({
tabIndex={isInChannel ? -1 : 0}
type="button"
>
{selectMode && !isInChannel ? (
<div
className={cn(
"flex h-4 w-4 shrink-0 items-center justify-center rounded border transition-colors",
isSelected
? "border-primary bg-primary text-primary-foreground"
: "border-muted-foreground/40",
)}
>
{isSelected ? <Check className="h-3 w-3" /> : null}
</div>
) : null}
<QuickAddAgentAvatar
avatarUrl={item.avatarUrl}
label={item.label}