mirror of
https://github.com/strapi/strapi.git
synced 2025-11-01 10:23:34 +00:00
PR review apply
This commit is contained in:
parent
683dc4b199
commit
587e4450b7
@ -22,9 +22,7 @@ export function* emitter(action) {
|
||||
}
|
||||
);
|
||||
}
|
||||
} catch (err) {
|
||||
console.log(err); // eslint-disable-line no-console
|
||||
}
|
||||
} catch (err) {}
|
||||
}
|
||||
|
||||
// Individual exports for testing
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user