Skip to content

Commit

Permalink
fixes another rendering issue after creating a post
Browse files Browse the repository at this point in the history
  • Loading branch information
Schwartz10 committed Jan 20, 2018
1 parent 203177c commit e6d1a9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/store/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export default function (state = defaultUser, action) {
let updatedUser = Object.assign({}, state)
updatedUser.postUrl = action.post.postUrl;
updatedUser.postLottery = action.post.tokenPot;
updatedUser.coinBalance -= 5;
return updatedUser;
default:
return state
Expand Down

0 comments on commit e6d1a9e

Please sign in to comment.