rename to
This commit is contained in:
@@ -231,11 +231,11 @@ export function MessagesScreenInner({navigation, route}: Props) {
|
|||||||
|
|
||||||
// NOTE(APiligrim)
|
// NOTE(APiligrim)
|
||||||
// Show empty state only if there are no conversations at all
|
// Show empty state only if there are no conversations at all
|
||||||
const actualConversations = conversations.filter(
|
const activeConversations = conversations.filter(
|
||||||
item => item.type === 'CONVERSATION',
|
item => item.type === 'CONVERSATION',
|
||||||
)
|
)
|
||||||
|
|
||||||
if (actualConversations.length === 0) {
|
if (activeConversations.length === 0) {
|
||||||
return (
|
return (
|
||||||
<Layout.Screen>
|
<Layout.Screen>
|
||||||
<Header newChatControl={newChatControl} />
|
<Header newChatControl={newChatControl} />
|
||||||
|
|||||||
Reference in New Issue
Block a user