pankod/refine

View on GitHub
packages/mui/src/components/layout/header/index.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function Header has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const Header: React.FC<RefineLayoutHeaderProps> = () => {
  const authProvider = useActiveAuthProvider();
  const { data: user } = useGetIdentity({
    v3LegacyAuthProviderCompatible: Boolean(authProvider?.isLegacy),
  });
Severity: Minor
Found in packages/mui/src/components/layout/header/index.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status