Fixed the custom status invalid prop warning issue in ChannelInfo screen (#5589)
This commit is contained in:
parent
583e6b032f
commit
1be9129112
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ function makeMapStateToProps() {
|
|||
currentChannelGuestCount = 1;
|
||||
}
|
||||
customStatusEnabled = isCustomStatusEnabled(state);
|
||||
customStatus = customStatusEnabled && getCustomStatus(state, teammateId);
|
||||
customStatus = customStatusEnabled ? getCustomStatus(state, teammateId) : undefined;
|
||||
customStatusExpired = customStatusEnabled ? isCustomStatusExpired(state, customStatus) : true;
|
||||
customStatusExpirySupported = customStatusEnabled ? isCustomStatusExpirySupported(state) : false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue