Skip to content

Commit

Permalink
fix(showReposForGithubUser): remove incorrect function parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
jchartrand committed Aug 9, 2018
1 parent dd737f6 commit f95262b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Load.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ function showReposForAuthenticatedUser(writer, pagingContainerId, requestedPage,
})
}

function showReposForGithubUser(writer, user, listContainerId, pagingContainerId, requestedPage, resultComponent) {
cwrcGit.getReposForGithubUser(requestedPage, 20).then(results=>{
function showReposForGithubUser(writer, user, pagingContainerId, requestedPage, resultComponent) {
cwrcGit.getReposForGithubUser(user, requestedPage, 20).then(results=>{
const pagingCB = (requestedPage, resultComponent)=>showReposForGithubUser(writer, user, 'public-pagination', requestedPage, resultComponent)
populateResultList(writer, results, requestedPage, pagingContainerId, pagingCB, resultComponent)
})
Expand Down

0 comments on commit f95262b

Please sign in to comment.