pankod/refine

View on GitHub
packages/mantine/src/components/pages/error/index.tsx

Summary

Maintainability
A
3 hrs
Test Coverage

Function ErrorComponent has 80 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const ErrorComponent: React.FC<RefineErrorPageProps> = () => {
  const [errorMessage, setErrorMessage] = useState<string>();
  const translate = useTranslate();
  const { push } = useNavigation();
  const go = useGo();
Severity: Major
Found in packages/mantine/src/components/pages/error/index.tsx - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status