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 Eugen Rochko
parent 3b699f1732
commit 6db143e424

View file

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