then->done

pull/3103/head
Luke Barnard 2017-02-01 11:39:23 +00:00
parent 1f3ab4425a
commit 40609d7da3
1 changed files with 1 additions and 1 deletions

View File

@ -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 });
}