Parcourir la source

[RN] Fix a react warning on remote video menu

j8
Bettenbuk Zoltan il y a 7 ans
Parent
révision
82f6931ee8
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2
    1
      react/features/filmstrip/components/native/Thumbnail.js

+ 2
- 1
react/features/filmstrip/components/native/Thumbnail.js Voir le fichier

@@ -131,7 +131,8 @@ class Thumbnail extends Component<Props> {
131 131
             <Container
132 132
                 onClick = { disablePin ? undefined : this._onClick }
133 133
                 onLongPress = {
134
-                    showRemoteVideoMenu && this._onShowRemoteVideoMenu }
134
+                    showRemoteVideoMenu
135
+                        ? this._onShowRemoteVideoMenu : undefined }
135 136
                 style = { [
136 137
                     styles.thumbnail,
137 138
                     participant.pinned && !disablePin

Chargement…
Annuler
Enregistrer