pankod/refine

View on GitHub
packages/devtools-ui/src/components/feature-slide.tsx

Summary

Maintainability
C
7 hrs
Test Coverage

Function FeatureSlide has 99 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const FeatureSlide = (props: { className?: string }) => {
  const slideTimeout = useRef<NodeJS.Timeout | null | undefined>(undefined);
  const [slideIndex, setSlideIndex] = useState(0);

  useEffect(() => {
Severity: Major
Found in packages/devtools-ui/src/components/feature-slide.tsx - About 3 hrs to fix

    Function FeatureSlideMobile has 79 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    export const FeatureSlideMobile = (props: { className?: string }) => {
      return (
        <div
          className={clsx(
            "re-max-w-[640px]",
    Severity: Major
    Found in packages/devtools-ui/src/components/feature-slide.tsx - About 3 hrs to fix

      There are no issues that match your filters.

      Category
      Status