Skip to content

Commit

Permalink
add userlist on left
Browse files Browse the repository at this point in the history
  • Loading branch information
deveshidwivedi committed Jun 23, 2024
1 parent 1de7d68 commit 6c3eda2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion modules/room/components/Room.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";



Expand All @@ -17,6 +17,7 @@ const Room = () => {
return (
<RoomContextProvider>
<div className="relative h-full w-full overflow-hidden">
<UsersList />
<ToolBar />
<Canvas />
<MousePosition />
Expand Down
5 changes: 3 additions & 2 deletions modules/room/components/UsersList.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useRoom } from "@/common/recoil/room";

const UserList = () => {
const UsersList = () => {
const room= useRoom();

return (
Expand All @@ -22,4 +22,5 @@ const UserList = () => {

</div>
);
};
};
export default UsersList;

0 comments on commit 6c3eda2

Please sign in to comment.