frontend/src/cms/containers/posts/Form/index.js
Function render
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const submitLabel = this.props.params.id ? 'Update' : 'Create';
const { handleSubmit, submitting, fields: { title, publishedAt, leadSentence } } = this.props;
return (