better proptypes
This commit is contained in:
parent
0deed4bb88
commit
2a01985076
1 changed files with 2 additions and 2 deletions
|
@ -103,8 +103,8 @@ export default React.createClass({
|
||||||
propTypes: {
|
propTypes: {
|
||||||
room: PropTypes.object.isRequired,
|
room: PropTypes.object.isRequired,
|
||||||
|
|
||||||
// map from userid -> deviceid -> deviceinfo
|
// map from userid -> deviceid -> deviceinfo or null if devices are not yet loaded
|
||||||
devices: PropTypes.object.isRequired,
|
devices: PropTypes.object,
|
||||||
|
|
||||||
onFinished: PropTypes.func.isRequired,
|
onFinished: PropTypes.func.isRequired,
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue