You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-12-01 09:58:03 +03:00
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:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user