app/assets/javascripts/components/common/academic_system.jsx
Function AcademicSystem
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const AcademicSystem = (props) => {
const [selectedOption, setSelectedOption] = useState(props.value || 'semester');
useEffect(() => {
props.updateCourseProps({ academic_system: selectedOption });