gymnastjs/gymnast

View on GitHub
src/useResolution/index.tsx

Summary

Maintainability
A
1 hr
Test Coverage

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

export default function useResolution<A extends GridProps>(
  resolutionKeys: Array<string>,
  props: A,
  allowMatchMedia: boolean = supportsMatchMedia
): [boolean, A & OneResolutionGrid] {
Severity: Minor
Found in src/useResolution/index.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status