Fix an incorrect console error
... this error is thrown when registering as guest or loading from localstorage, not when using tokenparams.
This commit is contained in:
parent
5d159c995d
commit
fcd945afc2
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ module.exports = React.createClass({
|
||||||
defaultDeviceDisplayName: this.props.defaultDeviceDisplayName,
|
defaultDeviceDisplayName: this.props.defaultDeviceDisplayName,
|
||||||
});
|
});
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
console.error(`Error attempting to load session from token params: ${e}`);
|
console.error(`Error attempting to load session: ${e}`);
|
||||||
return false;
|
return false;
|
||||||
}).then((loadedSession) => {
|
}).then((loadedSession) => {
|
||||||
if (!loadedSession) {
|
if (!loadedSession) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue