From 40609d7da3d55c14934df01e693dbe4d3917c813 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Wed, 1 Feb 2017 11:39:23 +0000 Subject: [PATCH] then->done --- src/components/structures/HomePage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/HomePage.js b/src/components/structures/HomePage.js index 26bdf81e..ecf2f271 100644 --- a/src/components/structures/HomePage.js +++ b/src/components/structures/HomePage.js @@ -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 }); }