Skip to content

Commit 1f51fdc

Browse files
authored
🐛 unsubscribe from invalid channel
1 parent 8336adf commit 1f51fdc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

app/commons/File/subscribeToFileChange.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ export default function subscribeToFileChange () {
4747
autorun(() => {
4848
if (!config.fsSocketConnected) return
4949
const client = FsSocketClient.$$singleton.stompClient
50-
client.subscribe('CONNECTED', (frame) => {
51-
console.log('FS CONNECTED', frame)
52-
})
5350

5451
client.subscribe(`/topic/ws/${config.spaceKey}/change`, (frame) => {
5552
const data = JSON.parse(frame.body)

0 commit comments

Comments
 (0)