airbnb/caravel

View on GitHub
superset-frontend/src/dashboard/components/dnd/handleScroll/index.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function handleScroll has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function handleScroll(scroll: string) {
  const setupScroll =
    scroll === 'SCROLL_TOP' &&
    !scrollTopDashboardInterval &&
    document.documentElement.scrollTop !== 0;

    There are no issues that match your filters.

    Category
    Status