remove loader when chat is closed

This commit is contained in:
Sharon Kennedy 2020-09-08 08:20:23 -04:00
parent a0d08f8f88
commit 2ffa63d583
3 changed files with 3 additions and 3 deletions

2
dist/bookmarklet.js vendored

File diff suppressed because one or more lines are too long

2
dist/chatbox.js vendored

File diff suppressed because one or more lines are too long

View File

@ -166,7 +166,7 @@ class ChatBox extends React.Component {
await this.state.client.deactivateAccount(auth, true)
await this.state.client.stopClient()
await this.state.client.clearStores()
this.setState({ client: null })
this.setState({ client: null, ready: true }) // no more loading animation
window.clearInterval(this.state.waitIntervalId) // no more waiting messages
}