ahbeng/NUSMods

View on GitHub
website/src/views/timetable/TimetableRow.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function TimetableRow has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const TimetableRow: React.FC<Props> = (props) => {
  const { startingIndex, endingIndex, lessons, onModifyCell, verticalMode } = props;
  const totalCols = endingIndex - startingIndex;

  let lastStartIndex = startingIndex;
Severity: Minor
Found in website/src/views/timetable/TimetableRow.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status