fix: Use onSelect instead of onClick for DropdownMenuItem

This commit is contained in:
Shirone
2026-01-24 18:22:42 +01:00
parent bbe669cdf2
commit d7f86d142a

View File

@@ -84,7 +84,7 @@ export function WorktreeDropdownItem({
return (
<DropdownMenuItem
onClick={onSelect}
onSelect={onSelect}
className={cn('flex items-center gap-2 cursor-pointer pr-2', isSelected && 'bg-accent')}
aria-current={isSelected ? 'true' : undefined}
>