Fix syntax

This commit is contained in:
Mark Haines
2015-07-20 13:48:40 +01:00
parent 3f5c220993
commit b66488a783
2 changed files with 4 additions and 5 deletions
+1 -2
View File
@@ -77,10 +77,9 @@ module.exports = {
'password': formVals.password
}).done(function(data) {
MatrixClientPeg.replaceUsingAccessToken(
this.state.hs_url, this.state.is_url,
that.state.hs_url, that.state.is_url,
data.user_id, data.access_token
);
}));
if (that.props.onLoggedIn) {
that.props.onLoggedIn();
}