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, diff --git a/src/components/views/groups/GroupMemberTile.js b/src/components/views/groups/GroupMemberTile.js index ed305382be..c4b41d23ce 100644 --- a/src/components/views/groups/GroupMemberTile.js +++ b/src/components/views/groups/GroupMemberTile.js @@ -59,7 +59,9 @@ export default createReactClass({ ); const av = ( - diff --git a/src/components/views/terms/InlineTermsAgreement.js b/src/components/views/terms/InlineTermsAgreement.js index a22359933f..836b34c585 100644 --- a/src/components/views/terms/InlineTermsAgreement.js +++ b/src/components/views/terms/InlineTermsAgreement.js @@ -17,7 +17,7 @@ limitations under the License. import React from "react"; import PropTypes from "prop-types"; import {_t, pickBestLanguage} from "../../../languageHandler"; -import sdk from "../../../.."; +import sdk from "../../.."; export default class InlineTermsAgreement extends React.Component { static propTypes = {