Remove unused variables (#3906)
This commit is contained in:
committed by
Eugen Rochko
parent
6fbb3841a6
commit
eff9416469
@ -52,7 +52,7 @@ class EmojiPickerDropdown extends React.PureComponent {
|
||||
import(/* webpackChunkName: "emojione_picker" */ 'emojione-picker').then(TheEmojiPicker => {
|
||||
EmojiPicker = TheEmojiPicker.default;
|
||||
this.setState({ loading: false });
|
||||
}).catch(err => {
|
||||
}).catch(() => {
|
||||
// TODO: show the user an error?
|
||||
this.setState({ loading: false });
|
||||
});
|
||||
|
Reference in New Issue
Block a user