You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-24 06:02:08 +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