Created
June 11, 2017 20:52
-
-
Save ghoshabhi/eadec3dd7701afeaac72fd8afb71b94a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as types from './constants'; | |
export const setUserFilter = filterName => ({ | |
type: types.SET_USER_FILTER, | |
payload: filterName, | |
}); | |
export const removeUserFilter = filterName => ({ | |
type: types.REMOVE_USER_FILTER, | |
payload: filterName, | |
}); | |
export const setFindFilter = newFindFilters => ({ | |
type: types.TOGGLE_FIND_FILTER, | |
payload: newFindFilters, | |
}); | |
export const setNearFilter = newNearFilters => ({ | |
type: types.TOGGLE_NEAR_FILTER, | |
payload: newNearFilters, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment