From 8f66b0de77561ef0a71be6914556509a995bda53 Mon Sep 17 00:00:00 2001 From: Sean Boult <996134+Hacksore@users.noreply.github.com> Date: Sat, 18 Nov 2023 17:21:24 -0600 Subject: [PATCH] Ayo2 --- apps/desktop/src/components/user.tsx | 2 -- apps/desktop/src/rpc/manager.ts | 2 +- apps/desktop/src/views/channel.tsx | 5 +---- 3 files changed, 2 insertions(+), 7 deletions(-) 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 (