This commit is contained in:
MeowcaTheoRange 2024-05-09 16:41:52 -05:00
parent e84425c14c
commit 2c8719fc15

View file

@ -339,7 +339,7 @@ export default function Home() {
} }
return x; return x;
})); }));
if (whoami.id != null) if (whoamiRef.current.id != null)
socket.emit('SIG_CHAT_CHGCHANNEL', { channel: data[0].name }, chgchannelChatRes); socket.emit('SIG_CHAT_CHGCHANNEL', { channel: data[0].name }, chgchannelChatRes);
} }
} }