ahbeng/NUSMods

View on GitHub
website/src/views/layout/Footer.tsx

Summary

Maintainability
A
3 hrs
Test Coverage

Function FooterComponent has 82 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const FooterComponent: React.FC<Props> = (props) => {
  // Try catch because of Chrome crashing on calling toLocaleString with no parameter
  // See https://sentry.io/nusmods/v3/issues/434084130/
  let lastUpdatedText = 'Loading data...';
  if (props.lastUpdatedDate) {
Severity: Major
Found in website/src/views/layout/Footer.tsx - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status