Skip to content

Commit

Permalink
Merge pull request #9 from Schwartz10/likingPhoto
Browse files Browse the repository at this point in the history
fixes another rendering issue after creating a post
  • Loading branch information
Schwartz10 authored Jan 20, 2018
2 parents 77858a6 + e6d1a9e commit 59306d8
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 59306d8

Please sign in to comment.