Reimplemented rooms with live update

This commit is contained in:
pascalyazid committed 2026-05-15 18:37:46 +02:00
1 parent 347f4b0999
commit 94c544b161
7 files changed
+25 -23

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ export interface RoomEntry {
member_count: number;
}
export function RoomsList({ rooms }: { rooms: RoomEntry[] }) {
export function RoomsList({ rooms }: Readonly<{ rooms: RoomEntry[] }>) {
if (rooms.length === 0) {
return (
<div className="flex flex-col items-center rounded-xl border border-dashed border-neutral-300 py-12">