You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
s/.done(/.then(/ since modern es6 track unhandled promise exceptions
This commit is contained in:
@@ -49,7 +49,7 @@ export default class LanguageDropdown extends React.Component {
|
||||
this.setState({langs});
|
||||
}).catch(() => {
|
||||
this.setState({langs: ['en']});
|
||||
}).done();
|
||||
}).then();
|
||||
|
||||
if (!this.props.value) {
|
||||
// If no value is given, we start with the first
|
||||
|
||||
Reference in New Issue
Block a user