undergroundwires/privacy.sexy

View on GitHub
src/presentation/components/Scripts/Slider/UseDragHandler.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function useDragHandler has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function useDragHandler(
  draggableElementRef: Readonly<Ref<HTMLElement | undefined>>,
  dragDomModifier: DragDomModifier = new GlobalDocumentDragDomModifier(),
  throttler = throttle,
  onTeardown: LifecycleHook = onUnmounted,
Severity: Minor
Found in src/presentation/components/Scripts/Slider/UseDragHandler.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status