mirror of
https://github.com/strapi/strapi.git
synced 2025-11-13 16:52:18 +00:00
PR review apply
This commit is contained in:
parent
683dc4b199
commit
587e4450b7
@ -22,9 +22,7 @@ export function* emitter(action) {
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {}
|
||||||
console.log(err); // eslint-disable-line no-console
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Individual exports for testing
|
// Individual exports for testing
|
||||||
|
|||||||
@ -228,6 +228,7 @@ SettingsViewWrapper.defaultProps = {
|
|||||||
initialData: {},
|
initialData: {},
|
||||||
isEditSettings: false,
|
isEditSettings: false,
|
||||||
modifiedData: {},
|
modifiedData: {},
|
||||||
|
name: '',
|
||||||
onConfirmReset: () => {},
|
onConfirmReset: () => {},
|
||||||
onConfirmSubmit: async () => {},
|
onConfirmSubmit: async () => {},
|
||||||
onSubmit: () => {},
|
onSubmit: () => {},
|
||||||
@ -241,7 +242,6 @@ SettingsViewWrapper.defaultProps = {
|
|||||||
values: {},
|
values: {},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
name: '',
|
|
||||||
};
|
};
|
||||||
|
|
||||||
SettingsViewWrapper.propTypes = {
|
SettingsViewWrapper.propTypes = {
|
||||||
@ -255,6 +255,7 @@ SettingsViewWrapper.propTypes = {
|
|||||||
isEditSettings: PropTypes.bool,
|
isEditSettings: PropTypes.bool,
|
||||||
isLoading: PropTypes.bool.isRequired,
|
isLoading: PropTypes.bool.isRequired,
|
||||||
modifiedData: PropTypes.object,
|
modifiedData: PropTypes.object,
|
||||||
|
name: PropTypes.string,
|
||||||
onChange: PropTypes.func.isRequired,
|
onChange: PropTypes.func.isRequired,
|
||||||
onConfirmReset: PropTypes.func,
|
onConfirmReset: PropTypes.func,
|
||||||
onConfirmSubmit: PropTypes.func,
|
onConfirmSubmit: PropTypes.func,
|
||||||
@ -269,7 +270,6 @@ SettingsViewWrapper.propTypes = {
|
|||||||
values: PropTypes.object,
|
values: PropTypes.object,
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
name: PropTypes.string,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default withRouter(SettingsViewWrapper);
|
export default withRouter(SettingsViewWrapper);
|
||||||
|
|||||||
@ -1,11 +1,5 @@
|
|||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
|
|
||||||
const SortWrapper = styled.div`
|
const SortWrapper = styled.div``;
|
||||||
// &:after {
|
|
||||||
// content: '';
|
|
||||||
// clear: both;
|
|
||||||
// display: table;
|
|
||||||
// }
|
|
||||||
`;
|
|
||||||
|
|
||||||
export default SortWrapper;
|
export default SortWrapper;
|
||||||
|
|||||||
@ -69,7 +69,7 @@ class ListRow extends React.Component {
|
|||||||
);
|
);
|
||||||
case 'providers':
|
case 'providers':
|
||||||
icons.pop(); // Remove the icon-trash
|
icons.pop(); // Remove the icon-trash
|
||||||
console.log(this.props.item.key);
|
|
||||||
return (
|
return (
|
||||||
<Wrapper className="row">
|
<Wrapper className="row">
|
||||||
<div className="col-md-4">
|
<div className="col-md-4">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user