Rip out the remainder of Bluebird
This commit is contained in:
parent
47948812b0
commit
d4d51dc61f
75 changed files with 71 additions and 135 deletions
|
@ -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 || []});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue