pankod/refine

View on GitHub
packages/inferencer/src/inferencers/headless/loading.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function LoadingComponent has 46 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  () => {
    const [dots, setDots] = React.useState(0);

    React.useEffect(() => {
      if (typeof window !== "undefined") {
Severity: Minor
Found in packages/inferencer/src/inferencers/headless/loading.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status