diff --git a/src/components/subcomponents/GithubRepos.js b/src/components/subcomponents/GithubRepos.js index f6a0e0d..4f8d7f0 100644 --- a/src/components/subcomponents/GithubRepos.js +++ b/src/components/subcomponents/GithubRepos.js @@ -139,7 +139,14 @@ class GithubRepos extends React.Component { }}> { this.sortOptions.map(option=>{ - return ; + return ( + ); }) } diff --git a/src/reducers/githubReducer.js b/src/reducers/githubReducer.js index 7712b8a..0da3024 100644 --- a/src/reducers/githubReducer.js +++ b/src/reducers/githubReducer.js @@ -1,4 +1,4 @@ -let githubReducer = (state={repoLanguages: {}, page: 1, sortedValue: {value:'updated_at', asc:false}}, action) => { +let githubReducer = (state={repoLanguages: {}, page: 1, sortedValue: {value:'pushed_at', asc:false}}, action) => { switch(action.type) { case 'GET_REPOS': return { ...state, repos: action.payload };