From 764d5891ad5ebc79f23f95bbff3d2002234ad937 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Mon, 21 Aug 2017 16:30:49 +0100 Subject: [PATCH] Fix proptypes on UserPickerDialog ... so that it doesn't log an error --- src/components/views/dialogs/UserPickerDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, },