Created
April 2, 2018 20:37
-
-
Save Ayyagaries/39aa716ed2f0c2062d140c0103b4aa8c to your computer and use it in GitHub Desktop.
Action file
This file contains hidden or 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
export const RESPONSE_ADMIN_ATTACHED_FACILITIES = 'RESPONSE_ADMIN_ATTACHED_FACILITIES'; | |
export const ERROR = 'ERROR'; | |
export const REQUEST_ATTACHED_FACILITIES = 'REQUEST_ATTACHED_FACILITIES'; | |
export const responseAdminAttachedFacilities = data => ({ | |
type: RESPONSE_ADMIN_ATTACHED_FACILITIES, | |
attachedFacilities: data.attachedFacilities, | |
}); | |
export const errorFetchFacilties = () => ({ | |
type: ERROR, | |
}); | |
export const requestAttachedFacilities = () => ({ | |
type: REQUEST_ATTACHED_FACILITIES, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment