Created
March 28, 2020 10:35
-
-
Save Djuki/588f3570eb9c4e4153de227011605776 to your computer and use it in GitHub Desktop.
Actiona
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
export const FETCH_MORE_BRANCHES = 'FETCH_MORE_BRANCHES'; | |
export const SUCCESS_FETCH_BRANCHES = 'SUCCESS_FETCH_BRANCHES'; | |
export function fetchMoreBranches(identityId, nextPage) { | |
return { | |
type: FETCH_MORE_BRANCHES, | |
identityId, | |
nextPage | |
}; | |
} | |
export function successFetchBranches(branches, nextPage) { | |
return { | |
type: SUCCESS_FETCH_BRANCHES, | |
branches, | |
nextPage | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment