From a22e2954ba7fbc61400b4eb652c2942df1dd9a12 Mon Sep 17 00:00:00 2001 From: Arjun Patel Date: Sun, 16 Jan 2022 14:59:21 -0800 Subject: [PATCH] cleaning up some of the rooms with a scroll --- components/Dashboard/Rooms.tsx | 31 +++++--------------------- components/Layouts/BackgroundLayout.js | 2 +- pages/teams/[teamid].tsx | 4 ++-- 3 files changed, 8 insertions(+), 29 deletions(-) diff --git a/components/Dashboard/Rooms.tsx b/components/Dashboard/Rooms.tsx index b78d565..4632e8b 100644 --- a/components/Dashboard/Rooms.tsx +++ b/components/Dashboard/Rooms.tsx @@ -1,35 +1,14 @@ import React, { useState } from "react"; -import { render } from "react-dom"; -import { - FaMicrophoneAlt, - FaHeadphonesAlt, - FaTh, - FaAngleDown, - FaPlusSquare, - FaBroom, - FaBell, - FaFilePdf, - FaCopy, - FaClock, - FaPlay, - FaPlus, - FaCheck, - FaCode, - FaLink, - FaExternalLinkAlt, - FaArchive, - FaAtlassian, - FaSearch, -} from "react-icons/fa"; -import { IoPulseOutline, IoRemoveOutline, IoTimer } from "react-icons/io5"; + +import { FaAngleDown, FaBell, FaClock, FaPlus, FaLink } from "react-icons/fa"; +import { IoTimer } from "react-icons/io5"; import { BsThreeDots } from "react-icons/bs"; import Image from "next/image"; export default function DashboardRoom() { - const [count, setCount] = useState(0); - return (
+ {/* header */} ROOMS @@ -72,7 +51,7 @@ export default function DashboardRoom() { {/* all rooms */} - + {/* spontaneous bugs room */} {/* header */} diff --git a/components/Layouts/BackgroundLayout.js b/components/Layouts/BackgroundLayout.js index cd81859..f23efa1 100644 --- a/components/Layouts/BackgroundLayout.js +++ b/components/Layouts/BackgroundLayout.js @@ -1,6 +1,6 @@ export default function BackgroundLayout({ children }) { return ( -
+
{children}
); diff --git a/pages/teams/[teamid].tsx b/pages/teams/[teamid].tsx index 9880fc9..a7607ed 100644 --- a/pages/teams/[teamid].tsx +++ b/pages/teams/[teamid].tsx @@ -81,10 +81,10 @@ function TeamDashboard() { console.log(teamDashboardContext); return ( -
+
-
+