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 739ea05d30
commit 09b322872a

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 });
});
}