import { LOAD_REPOS, LOAD_REPOS_ERROR, LOAD_REPOS_SUCCESS } from './constants';
export function loadRepos() { return { type: LOAD_REPOS, }; } export function reposLoaded(repos, username) { return { type: LOAD_REPOS_SUCCESS, repos, username, }; } export function repoLoadingError(error) { return { type: LOAD_REPOS_ERROR, error, }; }