Fix crash when failing to load emoji picker (#14525)

Fixes #14523
This commit is contained in:
ThibG 2020-08-08 17:57:56 +02:00 committed by GitHub
parent 4a4d08f3a0
commit bd3420b139
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ class EmojiPickerDropdown extends React.PureComponent {
this.setState({ loading: false }); this.setState({ loading: false });
}).catch(() => { }).catch(() => {
this.setState({ loading: false }); this.setState({ loading: false, active: false });
}); });
} }