diff --git a/src/app/student/map/_components/BoothListItem.tsx b/src/app/student/map/_components/BoothListItem.tsx index 7f7dfe4..705b7f6 100644 --- a/src/app/student/map/_components/BoothListItem.tsx +++ b/src/app/student/map/_components/BoothListItem.tsx @@ -1,8 +1,7 @@ "use client" -import { LocationId } from "@/app/student/map/lib/locations" +import { LocationId, locations } from "@/app/student/map/lib/locations" import { Card } from "@/components/ui/card" import { cn } from "@/lib/utils" -import { MapIcon } from "lucide-react" import Image from "next/image" import { Booth, BoothID } from "../lib/booths" @@ -12,7 +11,8 @@ export function BoothListItem({ onBoothNavigate, onMouseEnter, onMouseLeave, - closeDrawer + closeDrawer, + currentLocationId }: { booth: Booth onBoothClick: (boothId: BoothID) => void @@ -44,7 +44,7 @@ export function BoothListItem({ {} )} onClick={() => onBoothClick(booth.id)}> -
{booth.exhibitor.name}
+