Skip to content

Commit b40273f

Browse files
committed
chore: update
1 parent fd3cff2 commit b40273f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

apps/collabydraw/canvas-engine/CanvasEngine.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,9 @@ export class CanvasEngine {
189189
this.sendCursorMove(x, y);
190190
});
191191
if (!this.isStandalone && this.token && this.roomId) {
192-
console.log("✅Connecting to WebSocket…");
192+
// console.log("✅Connecting to WebSocket…");
193193
this.connectWebSocket();
194-
console.log("✅Connected to WebSocket…");
194+
// console.log("✅Connected to WebSocket…");
195195
}
196196
}
197197

@@ -201,7 +201,7 @@ export class CanvasEngine {
201201
(this.socket.readyState === WebSocket.CONNECTING ||
202202
this.socket.readyState === WebSocket.OPEN)
203203
) {
204-
console.log("Connection already exists, not creating a new one");
204+
// console.log("Connection already exists, not creating a new one");
205205
return;
206206
}
207207

@@ -226,7 +226,7 @@ export class CanvasEngine {
226226
const data: WebSocketMessage = JSON.parse(event.data);
227227
if (data.type === WsDataType.CONNECTION_READY) {
228228
this.connectionId = data.connectionId;
229-
console.log(`Assigned connection ID: ${this.connectionId}`);
229+
// console.log(`Assigned connection ID: ${this.connectionId}`);
230230
}
231231

232232
switch (data.type) {
@@ -239,7 +239,7 @@ export class CanvasEngine {
239239
connectionId: data.connectionId,
240240
connected: true,
241241
});
242-
console.log(`🔁 Another tab detected: ${data.connectionId}`);
242+
// console.log(`🔁 Another tab detected: ${data.connectionId}`);
243243
}
244244
if (data.participants && Array.isArray(data.participants)) {
245245
this.participants = data.participants;

0 commit comments

Comments
 (0)