You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
Replace console.warn with logger.warn
Related https://github.com/vector-im/element-web/issues/18425
This commit is contained in:
committed by
Dariusz Niemczyk
parent
5e73a212f4
commit
5290afcc4c
@@ -61,7 +61,7 @@ export default class AsyncWrapper extends React.Component<IProps, IState> {
|
||||
: result as ComponentType;
|
||||
this.setState({ component });
|
||||
}).catch((e) => {
|
||||
console.warn('AsyncWrapper promise failed', e);
|
||||
logger.warn('AsyncWrapper promise failed', e);
|
||||
this.setState({ error: e });
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user