Fix proptypes on UserPickerDialog

... so that it doesn't log an error
This commit is contained in:
Richard van der Hoff 2017-08-21 16:30:49 +01:00
parent c0f0425907
commit 764d5891ad

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