Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1326 from matrix-org/rav/userpicker_proptypes
Browse files Browse the repository at this point in the history
Fix proptypes on UserPickerDialog
  • Loading branch information
dbkr authored Aug 21, 2017
2 parents bfb6f8f + 764d589 commit a0fe3d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/dialogs/UserPickerDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},

Expand Down

0 comments on commit a0fe3d1

Please sign in to comment.