pankod/refine

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

Summary

Maintainability
A
2 hrs
Test Coverage

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

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

    There are no issues that match your filters.

    Category
    Status