diff --git a/src/components/TextInput/index.js b/src/components/TextInput/index.js index bcdb7541abee..744eedaecbf4 100644 --- a/src/components/TextInput/index.js +++ b/src/components/TextInput/index.js @@ -38,7 +38,7 @@ class TextInput extends React.Component { inputStyle={[ styles.baseTextInput, styles.textInputDesktop, - isLabeledMultiline && styles.textInputMultiline, + isLabeledMultiline ? styles.textInputMultiline : {}, ...this.props.inputStyle, ]} /> diff --git a/src/libs/Navigation/AppNavigator/MainDrawerNavigator.js b/src/libs/Navigation/AppNavigator/MainDrawerNavigator.js index cc6ef419e5ec..8fd4b9be5e56 100644 --- a/src/libs/Navigation/AppNavigator/MainDrawerNavigator.js +++ b/src/libs/Navigation/AppNavigator/MainDrawerNavigator.js @@ -30,12 +30,13 @@ const propTypes = { /** The type of the policy */ type: PropTypes.string, - })).isRequired, + })), }; const defaultProps = { reports: {}, betas: [], + policies: {}, }; /**