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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy