mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:35:04 +08:00
Fix proptypes on UserPickerDialog
... so that it doesn't log an error
This commit is contained in:
parent
c0f0425907
commit
764d5891ad
@ -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