diff --git a/src/components/views/dialogs/UserPickerDialog.js b/src/components/views/dialogs/UserPickerDialog.js index bde1ab0910..b2fdd7035d 100644 --- a/src/components/views/dialogs/UserPickerDialog.js +++ b/src/components/views/dialogs/UserPickerDialog.js @@ -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, },