mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-18 06:35:35 +08:00
AuxPanel: Add type checking for userId and showApps properties
This commit is contained in:
parent
b63edcb390
commit
5d898dd098
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user