hide 'unknown screen' warning

pull/21833/head
Matthew Hodgson 2016-01-24 19:14:14 +00:00
parent 6eea1f7f83
commit c1f28bb6b9
1 changed files with 1 additions and 1 deletions

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);
}
},