digitalfabrik/integreat-app

View on GitHub
native/src/hooks/useNavigateToLink.ts

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Function navigateToLink has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const navigateToLink = <T extends RoutesType>(
  url: string,
  navigation: NavigationProps<T>,
  languageCode: string,
  navigateTo: (routeInformation: RouteInformationType) => void,
Severity: Minor
Found in native/src/hooks/useNavigateToLink.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status