ahbeng/NUSMods

View on GitHub
website/src/views/components/KeyboardShortcuts.tsx

Summary

Maintainability
B
4 hrs
Test Coverage

Function KeyboardShortcuts has 118 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const KeyboardShortcuts: React.FC = () => {
  const [helpShown, setHelpShown] = useState(false);
  const colorScheme = useColorScheme();
  const closeModal = useCallback(() => setHelpShown(false), []);

Severity: Major
Found in website/src/views/components/KeyboardShortcuts.tsx - About 4 hrs to fix

    There are no issues that match your filters.

    Category
    Status