diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index 799cd58d93..80489085ed 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -655,7 +655,7 @@ module.exports = React.createClass({ } } else { - console.error("Unknown screen : %s", screen); + if (screen) console.error("Unknown screen : %s", screen); } },