pankod/refine

View on GitHub
packages/core/src/hooks/useTelemetryData/index.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function useTelemetryData has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const useTelemetryData = (): ITelemetryData => {
  const auth = useIsExistAuthentication();
  const auditLogContext = useContext(AuditLogContext);
  const { liveProvider } = useContext(LiveContext);
  const routerContext = useContext(LegacyRouterContext);
Severity: Minor
Found in packages/core/src/hooks/useTelemetryData/index.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status