Skip to content

Commit 2281996

Browse files
committed
Remove console.log
1 parent 453f25f commit 2281996

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

backend/communication-service/src/handlers/websocketHandler.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export const handleWebsocketCommunicationEvents = (socket: Socket) => {
99
CommunicationEvents.JOIN,
1010
async ({ roomId, username }: { roomId: string; username: string }) => {
1111
connectUser(username);
12-
console.log(username, roomId);
1312
const room = io.sockets.adapter.rooms.get(roomId);
1413
if (room?.has(socket.id)) {
1514
socket.emit(CommunicationEvents.ALREADY_JOINED);

frontend/src/contexts/CollabContext.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,6 @@ const CollabProvider: React.FC<{ children?: React.ReactNode }> = (props) => {
260260

261261
if (!collabSocket.hasListeners(CollabEvents.SOCKET_DISCONNECT)) {
262262
collabSocket.on(CollabEvents.SOCKET_DISCONNECT, (reason) => {
263-
console.log(reason);
264263
if (
265264
reason !== CollabEvents.SOCKET_CLIENT_DISCONNECT &&
266265
reason !== CollabEvents.SOCKET_SERVER_DISCONNECT

0 commit comments

Comments
 (0)