forked from Mirrors/gomuks
web/app: add missing return to effect
This commit is contained in:
parent
c5f78c6133
commit
277732efd9
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ function App() {
|
|||
const clientState = useEventAsState(client.state)
|
||||
useEffect(() => {
|
||||
window.client = client
|
||||
client.start()
|
||||
return client.start()
|
||||
}, [client])
|
||||
|
||||
const afterConnectError = Boolean(connState?.error && connState.reconnecting && clientState?.is_verified)
|
||||
|
|
Loading…
Add table
Reference in a new issue