Fix changing username not updating

This commit is contained in:
Chi Vinh Le
2017-05-27 01:05:12 +07:00
parent a7cdcb0bf7
commit 52b3dcab43
@@ -25,7 +25,7 @@ const UserBox = ({loggedIn, user, logout, onShowProfile}) => (
const mapStateToProps = ({auth, user}) => ({
loggedIn: auth.toJS().loggedIn,
user: user.toJS()
user: auth.toJS().user
});
const mapDispatchToProps = dispatch =>