diff --git a/js/src/features/particles/particle-list-view.tsx b/js/src/features/particles/particle-list-view.tsx index 3f1a495..085c687 100644 --- a/js/src/features/particles/particle-list-view.tsx +++ b/js/src/features/particles/particle-list-view.tsx @@ -22,7 +22,6 @@ import { import { getInitials } from "@/lib/utils"; import { formatDistanceToNow } from "@/lib/time-utils"; import { Avatar, AvatarFallback } from "@/components/ui/avatar"; -import { ScrollArea } from "@/components/ui/scroll-area"; import { Separator } from "@/components/ui/separator"; import { Progress } from "@/components/ui/progress"; import { Small } from "@/components/ui/typography"; @@ -133,10 +132,12 @@ function StreamRow({ const TypeIcon = latestChild ? getParticleTypeIcon(latestChild) : Radio; return ( - { if (e.key === "Enter" || e.key === " ") onClick(); }} + className="flex w-full items-center gap-3 px-4 py-3 text-left cursor-pointer transition-colors hover:bg-accent" > )} - + ); } @@ -239,7 +240,7 @@ export function ParticleListView({ path }: ParticleListViewProps) { } return ( - + {streams.map((stream, index) => ( @@ -252,6 +253,6 @@ export function ParticleListView({ path }: ParticleListViewProps) { ))} - + ); }