mirror of https://github.com/vector-im/riot-web
better proptypes
parent
0deed4bb88
commit
2a01985076
|
@ -103,8 +103,8 @@ export default React.createClass({
|
|||
propTypes: {
|
||||
room: PropTypes.object.isRequired,
|
||||
|
||||
// map from userid -> deviceid -> deviceinfo
|
||||
devices: PropTypes.object.isRequired,
|
||||
// map from userid -> deviceid -> deviceinfo or null if devices are not yet loaded
|
||||
devices: PropTypes.object,
|
||||
|
||||
onFinished: PropTypes.func.isRequired,
|
||||
|
||||
|
|
Loading…
Reference in New Issue