ahbeng/NUSMods

View on GitHub
website/src/views/components/map/ArrivalTimes.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function ArrivalTimes has 51 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const ArrivalTimes = memo<Props>((props: Props) => {
  if (props.error) {
    return (
      <>
        <h3 className={styles.heading}>{props.name}</h3>
Severity: Major
Found in website/src/views/components/map/ArrivalTimes.tsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status