You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Replace console.info with logger.info
Related https://github.com/vector-im/element-web/issues/18425
This commit is contained in:
committed by
Dariusz Niemczyk
parent
5290afcc4c
commit
2c66403b3c
@@ -1452,7 +1452,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
||||
if (state === "SYNCING" && prevState === "SYNCING") {
|
||||
return;
|
||||
}
|
||||
console.info("MatrixClient sync state => %s", state);
|
||||
logger.info("MatrixClient sync state => %s", state);
|
||||
if (state !== "PREPARED") { return; }
|
||||
|
||||
this.firstSyncComplete = true;
|
||||
@@ -1818,7 +1818,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
||||
group_id: groupId,
|
||||
});
|
||||
} else {
|
||||
console.info("Ignoring showScreen for '%s'", screen);
|
||||
logger.info("Ignoring showScreen for '%s'", screen);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user