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

Fixes #14523
master
ThibG 4 years ago committed by GitHub
parent 4a4d08f3a0
commit bd3420b139
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/javascript/mastodon/features/compose/components/emoji_picker_dropdown.js

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

Loading…
Cancel
Save