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

Fix proptypes on UserPickerDialog
pull/21833/head
David Baker 2017-08-21 16:43:15 +01:00 committed by GitHub
commit a0fe3d1cb0
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ module.exports = React.createClass({
roomId: PropTypes.string, roomId: PropTypes.string,
button: PropTypes.string, button: PropTypes.string,
focus: PropTypes.bool, focus: PropTypes.bool,
validAddressTypes: PropTypes.arrayOf(PropTypes.oneOfType(addressTypes)), validAddressTypes: PropTypes.arrayOf(PropTypes.oneOf(addressTypes)),
onFinished: PropTypes.func.isRequired, onFinished: PropTypes.func.isRequired,
}, },