Skip to content

Commit

Permalink
fix(profile): Fix wrong parameter (#271) (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
chinesedfan authored and Houssein Djirdeh committed Sep 6, 2017
1 parent e390af7 commit 1cba55f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth/auth.action.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const getUser = () => {

export const getStarCount = () => {
return (dispatch, getState) => {
const user = getState().auth.user.name;
const user = getState().auth.user.login;

dispatch({ type: GET_AUTH_STAR_COUNT.PENDING });

Expand Down

0 comments on commit 1cba55f

Please sign in to comment.