mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-19 18:13:41 -05:00
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)
|
const clientState = useEventAsState(client.state)
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
window.client = client
|
window.client = client
|
||||||
client.start()
|
return client.start()
|
||||||
}, [client])
|
}, [client])
|
||||||
|
|
||||||
const afterConnectError = Boolean(connState?.error && connState.reconnecting && clientState?.is_verified)
|
const afterConnectError = Boolean(connState?.error && connState.reconnecting && clientState?.is_verified)
|
||||||
|
|
Loading…
Add table
Reference in a new issue