diff --git a/apps/desktop/src/components/user.tsx b/apps/desktop/src/components/user.tsx index a7da3cf0..c2a74fec 100644 --- a/apps/desktop/src/components/user.tsx +++ b/apps/desktop/src/components/user.tsx @@ -4,10 +4,8 @@ import { MicOff } from "./mic-off"; export const User = ({ item, - windowSize, }: { item: OverlayedUser; - windowSize: number; }) => { const { id, selfMuted, selfDeafened, talking, avatarHash } = item; diff --git a/apps/desktop/src/rpc/manager.ts b/apps/desktop/src/rpc/manager.ts index 0a0975c8..2f91ad78 100644 --- a/apps/desktop/src/rpc/manager.ts +++ b/apps/desktop/src/rpc/manager.ts @@ -231,7 +231,7 @@ class SocketManager { } } - console.log(payload); + // console.log(payload); // we are ready to do things cause we are fully authed if ( payload.cmd === RPCCommand.AUTHENTICATE && diff --git a/apps/desktop/src/views/channel.tsx b/apps/desktop/src/views/channel.tsx index d7e7587d..58be3834 100644 --- a/apps/desktop/src/views/channel.tsx +++ b/apps/desktop/src/views/channel.tsx @@ -1,17 +1,14 @@ import { User } from "../components/user"; import { useAppStore } from "../store"; -import { useWindowResize } from "../use-window-resize"; export const Channel = () => { const { users } = useAppStore(); - const windowSize = useWindowResize(); return (
- {JSON.stringify({ windowSize })}
{Object.entries(users).map(([_k, item]) => ( - + ))}