Coursemology/coursemology2

View on GitHub
client/app/bundles/course/container/Breadcrumbs/sliders.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function useSliders has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const useSliders = (): UseSlidersHook => {
  const ref = useRef<HTMLDivElement>(null);
  const [showSliders, setShowSliders] = useState([false, false]);

  const resetShowSliders = (element: Element): void => {
Severity: Minor
Found in client/app/bundles/course/container/Breadcrumbs/sliders.tsx - About 1 hr to fix

There are no issues that match your filters.

Category
Status