pankod/refine

View on GitHub
packages/core/src/hooks/button/refresh-button/index.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function useRefreshButton has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function useRefreshButton(
  props: RefreshButtonProps,
): RefreshButtonValues {
  const translate = useTranslate();
  const { keys, preferLegacyKeys } = useKeys();
Severity: Minor
Found in packages/core/src/hooks/button/refresh-button/index.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status