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