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

Commit 764d589

Browse files
committed
Fix proptypes on UserPickerDialog
... so that it doesn't log an error
1 parent c0f0425 commit 764d589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/views/dialogs/UserPickerDialog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module.exports = React.createClass({
3838
roomId: PropTypes.string,
3939
button: PropTypes.string,
4040
focus: PropTypes.bool,
41-
validAddressTypes: PropTypes.arrayOf(PropTypes.oneOfType(addressTypes)),
41+
validAddressTypes: PropTypes.arrayOf(PropTypes.oneOf(addressTypes)),
4242
onFinished: PropTypes.func.isRequired,
4343
},
4444

0 commit comments

Comments
 (0)