superset-frontend/src/dashboard/components/DashboardBuilder/state.ts
Function useNativeFilters
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const useNativeFilters = () => {
const [isInitialized, setIsInitialized] = useState(false);
const canEdit = useSelector<RootState, boolean>(
({ dashboardInfo }) => dashboardInfo.dash_edit_perm,
);