mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-17 19:57:03 +02:00
Merge pull request #1326 from matrix-org/rav/userpicker_proptypes
Fix proptypes on UserPickerDialog
This commit is contained in:
commit
a0fe3d1cb0
@ -38,7 +38,7 @@ module.exports = React.createClass({
|
||||
roomId: PropTypes.string,
|
||||
button: PropTypes.string,
|
||||
focus: PropTypes.bool,
|
||||
validAddressTypes: PropTypes.arrayOf(PropTypes.oneOfType(addressTypes)),
|
||||
validAddressTypes: PropTypes.arrayOf(PropTypes.oneOf(addressTypes)),
|
||||
onFinished: PropTypes.func.isRequired,
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user