From 6c3eda253888e4f8a750fdc97d308d6d5f6cfec1 Mon Sep 17 00:00:00 2001 From: Deveshi Dwivedi Date: Sun, 23 Jun 2024 23:06:47 +0530 Subject: [PATCH] add userlist on left --- modules/room/components/Room.tsx | 3 ++- modules/room/components/UsersList.tsx | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/room/components/Room.tsx b/modules/room/components/Room.tsx index e68716e..ead49f4 100644 --- a/modules/room/components/Room.tsx +++ b/modules/room/components/Room.tsx @@ -6,7 +6,7 @@ import { MousePosition } from "./MousePosition"; import MouseRenderer from "./MouseRenderer"; import { ToolBar } from "./toolbar/ToolBar"; import NameInput from "./NameInput"; - +import UsersList from "./UsersList"; @@ -17,6 +17,7 @@ const Room = () => { return (
+ diff --git a/modules/room/components/UsersList.tsx b/modules/room/components/UsersList.tsx index 82d5ecd..a9c54a7 100644 --- a/modules/room/components/UsersList.tsx +++ b/modules/room/components/UsersList.tsx @@ -1,6 +1,6 @@ import { useRoom } from "@/common/recoil/room"; -const UserList = () => { +const UsersList = () => { const room= useRoom(); return ( @@ -22,4 +22,5 @@ const UserList = () => {
); -}; \ No newline at end of file +}; +export default UsersList; \ No newline at end of file