ahbeng/NUSMods

View on GitHub
website/src/views/AppShell.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function useFetchModuleListAndTimetableModules has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function useFetchModuleListAndTimetableModules(): {
  moduleListError: Error | null;
  refetchModuleListAndTimetableModules: () => void;
} {
  const [moduleListError, setModuleListError] = useState<Error | null>(null);
Severity: Minor
Found in website/src/views/AppShell.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status