Skip to content

Commit

Permalink
Fix bad merge
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham committed Nov 8, 2021
1 parent ed92a7b commit a9c2221
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/LocalePicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const LocalePicker = (props) => {
return;
}

setLocale()
setLocale();
}}
items={_.values(localesToLanguages)}
size={props.size}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/ReimbursementAccount/IdentityForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ const IdentityForm = (props) => {
</View>
<View style={[styles.flex1]}>
<StatePicker
value={state}
value={props.state}
onChange={value => props.onFieldChange('addressState', value)}
errorText={props.errors.state ? props.translate('bankAccount.error.addressState') : ''}
hasError={Boolean(props.errors.state)}
Expand Down
6 changes: 3 additions & 3 deletions src/pages/workspace/withFullPolicy.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ export default function (WrappedComponent) {

previousRoute = lodashGet(currentRoute, 'path', '');

const {forwardedRef, policy, ...rest} = props;
const rest = _.omit(props, ['forwardedRef', 'policy']);
return (
<WrappedComponent
// eslint-disable-next-line react/jsx-props-no-spreading
{...rest}
ref={forwardedRef}
policy={policy}
ref={props.forwardedRef}
policy={props.policy}
/>
);
};
Expand Down

0 comments on commit a9c2221

Please sign in to comment.