AuxPanel: Add type checking for userId and showApps properties

This commit is contained in:
Robert Swain 2017-06-13 15:34:05 +02:00
parent b63edcb390
commit 5d898dd098

View file

@ -29,6 +29,8 @@ module.exports = React.createClass({
propTypes: { propTypes: {
// js-sdk room object // js-sdk room object
room: React.PropTypes.object.isRequired, room: React.PropTypes.object.isRequired,
userId: React.PropTypes.string.isRequired,
showApps: React.PropTypes.bool,
// Conference Handler implementation // Conference Handler implementation
conferenceHandler: React.PropTypes.object, conferenceHandler: React.PropTypes.object,