WikiEducationFoundation/WikiEduDashboard

View on GitHub
app/assets/javascripts/components/common/academic_system.jsx

Summary

Maintainability
A
1 hr
Test Coverage
B
83%

Function AcademicSystem has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const AcademicSystem = (props) => {
  const [selectedOption, setSelectedOption] = useState(props.value || 'semester');

  useEffect(() => {
    props.updateCourseProps({ academic_system: selectedOption });
Severity: Minor
Found in app/assets/javascripts/components/common/academic_system.jsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status