Skip to content

Commit ff02304

Browse files
committed
debug(collections): use native html checkbox instead of component
1 parent f78072a commit ff02304

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

apps/web/src/components/api-client/collections/collections-sidebar.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,11 +209,12 @@ export function CollectionsSidebar({
209209
<div key={collection.id} className="mb-4">
210210
<div className="flex items-center justify-between px-2 py-1.5 mb-1 group rounded-md hover:bg-muted/50 transition-colors">
211211
<div className="flex items-center gap-2 flex-1 min-w-0">
212-
<div className="flex items-center">
213-
<Checkbox
212+
<div className="flex items-center mr-2">
213+
<input
214+
type="checkbox"
214215
checked={selectedCollections.has(collection.id)}
215-
onCheckedChange={() => toggleCollectionSelection(collection.id)}
216-
className="h-4 w-4"
216+
onChange={() => toggleCollectionSelection(collection.id)}
217+
className="h-4 w-4 cursor-pointer"
217218
/>
218219
</div>
219220
<span className="text-[11px] font-bold text-muted-foreground uppercase tracking-wider truncate flex-1 px-1">

0 commit comments

Comments
 (0)