PR review apply

This commit is contained in:
Virginie Ky 2019-11-26 16:24:53 +01:00
parent 683dc4b199
commit 587e4450b7
4 changed files with 5 additions and 13 deletions

View File

@ -22,9 +22,7 @@ export function* emitter(action) {
}
);
}
} catch (err) {
console.log(err); // eslint-disable-line no-console
}
} catch (err) {}
}
// Individual exports for testing

View File

@ -228,6 +228,7 @@ SettingsViewWrapper.defaultProps = {
initialData: {},
isEditSettings: false,
modifiedData: {},
name: '',
onConfirmReset: () => {},
onConfirmSubmit: async () => {},
onSubmit: () => {},
@ -241,7 +242,6 @@ SettingsViewWrapper.defaultProps = {
values: {},
},
},
name: '',
};
SettingsViewWrapper.propTypes = {
@ -255,6 +255,7 @@ SettingsViewWrapper.propTypes = {
isEditSettings: PropTypes.bool,
isLoading: PropTypes.bool.isRequired,
modifiedData: PropTypes.object,
name: PropTypes.string,
onChange: PropTypes.func.isRequired,
onConfirmReset: PropTypes.func,
onConfirmSubmit: PropTypes.func,
@ -269,7 +270,6 @@ SettingsViewWrapper.propTypes = {
values: PropTypes.object,
}),
}),
name: PropTypes.string,
};
export default withRouter(SettingsViewWrapper);

View File

@ -1,11 +1,5 @@
import styled from 'styled-components';
const SortWrapper = styled.div`
// &:after {
// content: '';
// clear: both;
// display: table;
// }
`;
const SortWrapper = styled.div``;
export default SortWrapper;

View File

@ -69,7 +69,7 @@ class ListRow extends React.Component {
);
case 'providers':
icons.pop(); // Remove the icon-trash
console.log(this.props.item.key);
return (
<Wrapper className="row">
<div className="col-md-4">