mirror of https://github.com/vector-im/riot-web
then->done
parent
1f3ab4425a
commit
40609d7da3
|
@ -45,7 +45,7 @@ module.exports = React.createClass({
|
|||
console.log(error);
|
||||
this.setState({ page: "Couldn't load home page" });
|
||||
}
|
||||
).then(
|
||||
).done(
|
||||
(body)=>{
|
||||
this.setState({ page: body });
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue