diff --git a/src/actions/LandOwnershipActions.js b/src/actions/LandOwnershipActions.js index 2857642..a96e2e0 100644 --- a/src/actions/LandOwnershipActions.js +++ b/src/actions/LandOwnershipActions.js @@ -1,4 +1,12 @@ import { getRequest } from "./RequestActions"; +import { autoSave } from './MapActions'; + +export const togglePropertyDisplay = () => { + return dispatch => { + dispatch({ type: "TOGGLE_PROPERTY_DISPLAY" }); + return dispatch(autoSave()); + }; +} export const highlightProperty = (property) => { return (dispatch) => {