File tree 1 file changed +3
-2
lines changed
src/shared/containers/Dashboard
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -309,6 +309,7 @@ function mapStateToProps(state, props) {
309
309
const communities = state . tcCommunities . list ;
310
310
311
311
const userHandle = _ . get ( state . auth , 'user.handle' ) ;
312
+ const userId = _ . get ( state . auth , 'user.userId' ) ;
312
313
const member = state . members [ userHandle ] || { } ;
313
314
const achievements = member . achievements || { } ;
314
315
const finances = member . finances || { } ;
@@ -338,8 +339,8 @@ function mapStateToProps(state, props) {
338
339
finances : finances . data ,
339
340
financesLoading : Boolean ( finances . loadingUuid ) ,
340
341
financesTimestamp : finances . timestamp ,
341
- handle : state . auth . profile . handle ,
342
- memberId : state . auth . user . userId ,
342
+ handle : userHandle ,
343
+ memberId : userId ,
343
344
profile : state . auth . profile ,
344
345
showChallengeFilter : dash . showChallengeFilter ,
345
346
showEarnings : dash . showEarnings ,
You can’t perform that action at this time.
0 commit comments