saarnilauri/fida-imu

View on GitHub
src/components/hoc/getEntityForm.js

Summary

Maintainability
A
1 hr
Test Coverage

Function getEntityForm has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const getEntityForm = (entity, formSetup, schema) => {
  class EntityForm extends Component {
    render() {
      const { onSubmit, formData, editMode, cancelEdit } = this.props
      const { formatMessage } = this.props.intl
Severity: Minor
Found in src/components/hoc/getEntityForm.js - About 1 hr to fix

There are no issues that match your filters.

Category
Status