Merge pull request #4557 from vector-im/rav/homepage_again

more HomePage tweaks
This commit is contained in:
Richard van der Hoff 2017-07-11 16:46:43 +01:00 committed by GitHub
commit a201f74115
1 changed files with 2 additions and 2 deletions

View File

@ -74,8 +74,8 @@ module.exports = React.createClass({
} }
if (err || response.status < 200 || response.status >= 300) { if (err || response.status < 200 || response.status >= 300) {
console.log(err); console.warn(`Error loading home page: ${err}`);
this.setState({ page: "Couldn't load home page" }); this.setState({ page: _t("Couldn't load home page") });
return; return;
} }