From acf9113a7189e0facd314550b7ae7207cc6bb716 Mon Sep 17 00:00:00 2001 From: Arjun Patel Date: Wed, 19 Jan 2022 23:03:35 -0800 Subject: [PATCH] cleaning up tabs and such --- components/Dashboard/Rooms.tsx | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/components/Dashboard/Rooms.tsx b/components/Dashboard/Rooms.tsx index 027e4ee..bd42a5d 100644 --- a/components/Dashboard/Rooms.tsx +++ b/components/Dashboard/Rooms.tsx @@ -31,7 +31,6 @@ import { getTime } from "../../helpers/dateTime"; enum RoomTypeFilter { team = "team", me = "me", - live = "live", archived = "archived", } @@ -154,7 +153,6 @@ export default function DashboardRoom() { room.members.includes(currUser.uid) && room.status != RoomStatus.archived ); - const liveRooms = allRooms.filter((room) => room.status == RoomStatus.live); const archivedRooms = allRooms.filter( (room) => room.status == RoomStatus.archived ); @@ -367,18 +365,6 @@ export default function DashboardRoom() { ); - - case RoomTypeFilter.live: - return liveRooms.map((room) => { - // if the room is - return ( - - ); - }); case RoomTypeFilter.archived: return archivedRooms.map((room) => { // if the room is @@ -485,12 +471,6 @@ export default function DashboardRoom() { {teamRooms.length} - - {RoomTypeFilter.live}{" "} - - {liveRooms.length > 0 ? liveRooms.length : ""} - - {RoomTypeFilter.archived}{" "}