From cde75dc4f7dead13eaa84d78b7ee9517489d4452 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 27 Sep 2019 12:18:19 +0100 Subject: [PATCH] fix PropTypes.oneOfType Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/views/dialogs/AddressPickerDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/dialogs/AddressPickerDialog.js b/src/components/views/dialogs/AddressPickerDialog.js index 1eac07dbfd..ff52b03691 100644 --- a/src/components/views/dialogs/AddressPickerDialog.js +++ b/src/components/views/dialogs/AddressPickerDialog.js @@ -52,7 +52,7 @@ module.exports = createReactClass({ // Extra node inserted after picker input, dropdown and errors extraNode: PropTypes.node, value: PropTypes.string, - placeholder: PropTypes.oneOfType(PropTypes.string, PropTypes.func), + placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.func]), roomId: PropTypes.string, button: PropTypes.string, focus: PropTypes.bool,