Rip out the remainder of Bluebird

This commit is contained in:
Michael Telatynski 2019-11-18 10:03:05 +00:00
parent 47948812b0
commit d4d51dc61f
75 changed files with 71 additions and 135 deletions

View file

@ -52,7 +52,7 @@ export default class DevicesPanel extends React.Component {
}
_loadDevices() {
MatrixClientPeg.get().getDevices().done(
MatrixClientPeg.get().getDevices().then(
(resp) => {
if (this._unmounted) { return; }
this.setState({devices: resp.devices || []});