From 2c8719fc15722cdf229e43efe1a4762f2d0e68b9 Mon Sep 17 00:00:00 2001 From: MeowcaTheoRange Date: Thu, 9 May 2024 16:41:52 -0500 Subject: [PATCH] oops --- src/app/chat/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/chat/page.tsx b/src/app/chat/page.tsx index 2c3d7fe..8c1dae7 100644 --- a/src/app/chat/page.tsx +++ b/src/app/chat/page.tsx @@ -339,7 +339,7 @@ export default function Home() { } return x; })); - if (whoami.id != null) + if (whoamiRef.current.id != null) socket.emit('SIG_CHAT_CHGCHANNEL', { channel: data[0].name }, chgchannelChatRes); } }