Skip to content

Commit

Permalink
remove old dead reset code
Browse files Browse the repository at this point in the history
  • Loading branch information
tayloraj10 committed Jul 31, 2024
1 parent 1b6e3fc commit df641b0
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions src/reducers/filterMarkers.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,28 +146,6 @@ export default (state = initialState, act) => {
case actions.TOGGLE_INFO_EXPANDED:
return { ...state, infoIsExpanded: act.isExpanded };

// case actions.RESET_FILTER_FUNCTION:
// return {
// ...state,
// tapFilters: {
// accessTypesHidden: [],
// filtered: false,
// handicap: false,
// sparkling: false,
// openNow: false
// },
// foodFilters: {
// foodSite: false,
// school: false,
// charter: false,
// pha: false,
// idRequired: false,
// kidOnly: false,
// openNow: false,
// accessTypesHidden: []
// }
// };

case actions.SET_FILTERED_TAP_TYPES: {
let currentAccessTypesHidden = [...state.tapFilters.accessTypesHidden];
if (currentAccessTypesHidden.includes(act.tapType)) {
Expand Down

0 comments on commit df641b0

Please sign in to comment.