1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Bypass rageshake when warning about devtools (#7717)

This commit is contained in:
Šimon Brandner
2022-02-04 14:30:18 +01:00
committed by GitHub
parent 78373e86ea
commit ddb15cb19e
2 changed files with 14 additions and 1 deletions

View File

@@ -527,7 +527,8 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
"and contribute!",
);
console.log(
global.mx_rage_logger.bypassRageshake(
"log",
`%c${waitText}\n%c${scamText}\n%c${devText}`,
`font-size:${largeFontSize}; color:blue;`,
`font-size:${normalFontSize}; color:red;`,