ahbeng/NUSMods

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

Summary

Maintainability
A
1 hr
Test Coverage

Function TimetableDay has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const TimetableDay: React.FC<Props> = (props) => {
  const { startingIndex, endingIndex, verticalMode, highlightPeriod } = props;

  const columns = endingIndex - startingIndex;
  const size = 100 / (columns / (NUM_INTERVALS_PER_HOUR * 2));
Severity: Minor
Found in website/src/views/timetable/TimetableDay.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status