Created
March 15, 2019 10:27
-
-
Save akmur/8ab87b2bb2fbe2bb4348c9eb29697d36 to your computer and use it in GitHub Desktop.
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
import axios from 'axios' | |
export function loadUser() { | |
// this will be used to trigger the reducer | |
return { | |
type: 'LOAD_USER' | |
} | |
} | |
export function loadNews() { | |
return { | |
type: 'LOAD_NEWS' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment