packages/mui/src/components/pages/error/index.tsx
Function ErrorComponent
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const ErrorComponent: React.FC<RefineErrorPageProps> = () => {
const [errorMessage, setErrorMessage] = useState<string>();
const { push } = useNavigation();
const go = useGo();
const routerType = useRouterType();