mirror of
https://github.com/block/buzz.git
synced 2026-11-04 00:12:02 +00:00
Restore checkbox without animation — static div, no motion
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user