Merge pull request #1326 from matrix-org/rav/userpicker_proptypes

Fix proptypes on UserPickerDialog
This commit is contained in:
David Baker 2017-08-21 16:43:15 +01:00 committed by GitHub
commit a0fe3d1cb0

View file

@ -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,
},