feat: style participants list

This commit is contained in:
Alexander Daichendt 2025-02-13 13:53:31 +01:00
parent 86c1409d3f
commit ef521dfc47
4 changed files with 38 additions and 4 deletions

View file

@ -5,10 +5,11 @@ function ParticipantList() {
return (
<>
<h3 className="text-lg font-semibold">Participants</h3>
<ul>
{state.participants.map((participant) => (
<li key={participant.userId}>{participant.name}</li>
<li key={participant.userId} className="p-4 border-b border-gray-200">
{participant.name}
</li>
))}
</ul>
</>

View file

@ -25,7 +25,7 @@ function Room() {
);
}
// is connected
// View when is connected to the room
return (
<Layout>
<section className="w-full">