From 52b3dcab43d0f8c48ac5e542996c5c8ab6069f5a Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Sat, 27 May 2017 01:05:12 +0700 Subject: [PATCH] Fix changing username not updating --- plugins/coral-plugin-auth/client/components/UserBox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/coral-plugin-auth/client/components/UserBox.js b/plugins/coral-plugin-auth/client/components/UserBox.js index a4a0e1c99..d8adf2380 100644 --- a/plugins/coral-plugin-auth/client/components/UserBox.js +++ b/plugins/coral-plugin-auth/client/components/UserBox.js @@ -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 =>