skyderby/skyderby

View on GitHub
app/javascript/components/FlightProfiles/usePageParams.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function usePageParams has 73 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const usePageParams = () => {
  const navigate = useNavigate()
  const location = useLocation()
  const params = useMemo(() => extractParamsFromUrl(location.search), [location.search])

Severity: Major
Found in app/javascript/components/FlightProfiles/usePageParams.ts - About 2 hrs to fix

There are no issues that match your filters.

Category
Status