diff --git a/packages/web-ui/components/rooms.tsx b/packages/web-ui/components/rooms.tsx index 2ed0c35..0aaf9ed 100644 --- a/packages/web-ui/components/rooms.tsx +++ b/packages/web-ui/components/rooms.tsx @@ -1,6 +1,6 @@ 'use client'; -import { useEffect, useState } from 'react'; +import React, { useEffect, useState } from 'react'; import Link from 'next/link'; import { useParams } from 'next/navigation'; import { apiClient } from '@/api/apiClient'; @@ -11,6 +11,11 @@ import { useAuth } from '@clerk/nextjs'; import { Lock } from 'lucide-react'; import { Button } from '@/components/ui/button'; +import { + HoverCard, + HoverCardContent, + HoverCardTrigger, +} from '@/components/ui/hover-card'; import { ScrollArea } from '@/components/ui/scroll-area'; import { CreateRoomForm } from '@/components/create-room-form'; @@ -60,22 +65,29 @@ export function Rooms({ rooms }: RoomsProps) {
{rooms.map((room) => ( - - - + + + + + + + +
{room.name}
+
+
))}