mirror of
https://github.com/wassname/talk.git
synced 2026-08-13 12:40:11 +08:00
Fix changing username not updating
This commit is contained in:
@@ -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 =>
|
||||
|
||||
Reference in New Issue
Block a user