superset-frontend/src/features/datasets/AddDataset/EditDataset/UsageTab/index.tsx
Function useDatasetChartRecords
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const useDatasetChartRecords = (datasetId: string) => {
const { addDangerToast } = useToasts();
// Always filters charts by dataset
const baseFilters = useMemo(