website/src/views/AppShell.tsx
Function useFetchModuleListAndTimetableModules
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function useFetchModuleListAndTimetableModules(): {
moduleListError: Error | null;
refetchModuleListAndTimetableModules: () => void;
} {
const [moduleListError, setModuleListError] = useState<Error | null>(null);