teamdigitale/italia-app

View on GitHub
ts/utils/brightness.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function useMaxBrightness has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const useMaxBrightness = () => {
  const [initialBrightness, setInitialBrightness] = useState<
    number | undefined
  >(undefined);
  // The current app state
Severity: Minor
Found in ts/utils/brightness.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status