pankod/refine

View on GitHub
packages/devtools-ui/src/pages/login.tsx

Summary

Maintainability
B
5 hrs
Test Coverage

Function LoginForm has 111 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const LoginForm = (props: { className?: string }) => {
  const { ws } = React.useContext(DevToolsContext);
  const [searchParams] = useSearchParams();
  const [flowData, setFlowData] = React.useState<LoginFlow | null>(null);

Severity: Major
Found in packages/devtools-ui/src/pages/login.tsx - About 4 hrs to fix

    Function Login has 35 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    export const Login = () => {
      return (
        <div
          className={clsx(
            "re-min-h-screen re-w-full",
    Severity: Minor
    Found in packages/devtools-ui/src/pages/login.tsx - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status