packages/mui/src/components/layout/header/index.tsx
Function Header
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const Header: React.FC<RefineLayoutHeaderProps> = () => {
const authProvider = useActiveAuthProvider();
const { data: user } = useGetIdentity({
v3LegacyAuthProviderCompatible: Boolean(authProvider?.isLegacy),
});