Selaa lähdekoodia

[RN] Fix a react warning on remote video menu

j8
Bettenbuk Zoltan 7 vuotta sitten
vanhempi
commit
82f6931ee8
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2
    1
      react/features/filmstrip/components/native/Thumbnail.js

+ 2
- 1
react/features/filmstrip/components/native/Thumbnail.js Näytä tiedosto

@@ -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

Loading…
Peruuta
Tallenna