WikiEducationFoundation/WikiEduDashboard

View on GitHub
app/assets/javascripts/components/timeline/TrainingModules/TrainingModules.jsx

Summary

Maintainability
A
2 hrs
Test Coverage
A
100%

Function trainingSelector has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  trainingSelector() {
    const MultiValueRemove = (props) => {
      return (
        <components.MultiValueRemove {...props}>
          <components.CrossIcon aria-hidden={false} aria-label={'Remove Module'} />

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

      render() {
        if (this.props.editable) {
          return this.trainingSelector();
        }
    
    

      There are no issues that match your filters.

      Category
      Status