Skip to content

Commit 612d0b9

Browse files
committed
Remove duplicated event handler
1 parent 18c4929 commit 612d0b9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ui/arduino/store.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,6 @@ async function store(state, emitter) {
201201
})
202202
emitter.on('disconnect', async () => {
203203
await serialBridge.disconnect()
204-
// Update the UI after closing the connection
205-
emitter.emit('disconnected')
206204
})
207205
emitter.on('connection-timeout', async () => {
208206
state.isConnected = false

0 commit comments

Comments
 (0)