tsurupin/portfolio

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

Summary

Maintainability
A
2 hrs
Test Coverage

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

  render() {
    const headerLabel = this.props.params.id ? 'Update Project' : 'Create New Project';
    const submitLabel = this.props.params.id ? 'Update' : 'Create';
    const { handleSubmit, submitting, fields: { title, caption, sourceUrl, image, description } } = this.props;
    
Severity: Major
Found in frontend/src/cms/containers/projects/Form/index.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status