Reimplemented rooms with live update
This commit is contained in:
1 parent
347f4b0999
commit
94c544b161
7 files changed
+25
-23
No files matched your search
@@ -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">
|
||||
|
||||
Reference in new issue
Block a user