superset-frontend/src/explore/reducers/saveModalReducer.js
Function saveModalReducer
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function saveModalReducer(state = {}, action) {
const actionHandlers = {
[actions.SET_SAVE_CHART_MODAL_VISIBILITY]() {
return { ...state, isVisible: action.isVisible };
},