Skip to content

Commit 65447fe

Browse files
committed
fix: message list empty state rerender null issue
1 parent a95a907 commit 65447fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/src/components/MessageList/MessageList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1102,7 +1102,7 @@ const MessageListWithContext = <
11021102
{/* Don't show the empty list indicator for Thread messages */}
11031103
{processedMessageList.length === 0 && !thread ? (
11041104
<View style={[styles.flex, { backgroundColor: white_snow }]} testID='empty-state'>
1105-
<EmptyStateIndicator listType='message' />
1105+
{EmptyStateIndicator ? <EmptyStateIndicator listType='message' /> : null}
11061106
</View>
11071107
) : (
11081108
<FlatList

0 commit comments

Comments
 (0)