1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-12 12:41:46 +03:00

hide 'unknown screen' warning

This commit is contained in:
Matthew Hodgson
2016-01-24 19:14:14 +00:00
parent 6eea1f7f83
commit c1f28bb6b9

View File

@ -655,7 +655,7 @@ module.exports = React.createClass({
}
}
else {
console.error("Unknown screen : %s", screen);
if (screen) console.error("Unknown screen : %s", screen);
}
},