Skip to content

Commit

Permalink
Merge pull request #873 from gagansuie/dev
Browse files Browse the repository at this point in the history
Chore: removed console logs in sockets
  • Loading branch information
gagansuie authored Jan 21, 2024
2 parents 700f382 + 050a423 commit 680f246
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/channel/[channelId]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -228,13 +228,13 @@
}
if (channel.socket && channel.socket.constructor === WebSocket) {
channel.socket.addEventListener('open', async (data: any) => {
console.log('channel socket connection open', channelSocketId)
// console.log('channel socket connection open', channelSocketId)
initChannel(channel)
})
channel.socket.addEventListener('message', (data: any) => {
console.log('channel listening to messages')
if (isJsonString(data.data)) {
console.log('data.data', data.data)
// console.log('data.data', data.data)
$channel_message = data.data
}
})
Expand Down

0 comments on commit 680f246

Please sign in to comment.