superset-frontend/src/components/Chart/DrillBy/useDisplayModeToggle.tsx
Function useDisplayModeToggle
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const useDisplayModeToggle = () => {
const [drillByDisplayMode, setDrillByDisplayMode] = useState<DrillByType>(
DrillByType.Chart,
);