RN-362 Do not crash when leaving channels (#980)
This commit is contained in:
parent
18fa5c8cd4
commit
ace45ae0dd
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ function makeMapStateToProps() {
|
|||
channelRefreshingFailed = false;
|
||||
}
|
||||
|
||||
const channel = getChannel(state, {id: channelId});
|
||||
const channel = getChannel(state, {id: channelId}) || {};
|
||||
|
||||
return {
|
||||
channelId,
|
||||
|
|
|
|||
Loading…
Reference in a new issue