exercism/website

View on GitHub
app/javascript/hooks/use-timeout.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function useTimeout has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function useTimeout(
  second: number,
  callback?: () => void
): [
  React.Dispatch<React.SetStateAction<boolean>>,
Severity: Minor
Found in app/javascript/hooks/use-timeout.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status