Created
February 27, 2017 03:31
-
-
Save hanipcode/0740c08811c2b50d672a03b9e9bb3322 to your computer and use it in GitHub Desktop.
action yang diubah
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 succesFetch () { | |
| // fungsi succes fetch | |
| } | |
| // here we put the magic. fungsi failedFetch | |
| export const failedFetch(message) { | |
| return { | |
| type: FETCH.FAILED, | |
| error: { | |
| type: 'FETCH ERROR', | |
| message, | |
| }, | |
| }; | |
| } | |
| //other function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment