Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(rn,humbnail) add key prop to array items

Saúl Ibarra Corretgé5249998ec5bc
diff --git a/react/features/filmstrip/components/native/Thumbnail.js b/react/features/filmstrip/components/native/Thumbnail.js
index 3b5651ba35..0dc5795b71 100644
--- a/react/features/filmstrip/components/native/Thumbnail.js
+++ b/react/features/filmstrip/components/native/Thumbnail.js
@@ -224,6 +224,7 @@ class Thumbnail extends PureComponent<Props> {
if (!_isFakeParticipant) {
indicators.push(<View
+ key = 'top-left-indicators'
style = { [
styles.thumbnailTopIndicatorContainer,
styles.thumbnailTopLeftIndicatorContainer
@@ -232,13 +233,16 @@ class Thumbnail extends PureComponent<Props> {
{ renderDominantSpeakerIndicator && <DominantSpeakerIndicator /> }
</View>);
indicators.push(<View
+ key = 'top-right-indicators'
style = { [
styles.thumbnailTopIndicatorContainer,
styles.thumbnailTopRightIndicatorContainer
] }>
<ConnectionIndicator participantId = { participantId } />
</View>);
- indicators.push(<Container style = { styles.thumbnailIndicatorContainer }>
+ indicators.push(<Container
+ key = 'bottom-indicators'
+ style = { styles.thumbnailIndicatorContainer }>
{ audioMuted && <AudioMutedIndicator /> }
{ videoMuted && <VideoMutedIndicator /> }
{ isScreenShare && <ScreenShareIndicator /> }