tsurupin/portfolio

View on GitHub
frontend/src/cms/containers/posts/Form/index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function render has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  render() {
    const submitLabel = this.props.params.id ? 'Update' : 'Create';
    const { handleSubmit, submitting, fields: { title, publishedAt, leadSentence } } = this.props;
    
    return (
Severity: Minor
Found in frontend/src/cms/containers/posts/Form/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status