Skip to content

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

[RN] Fix a react warning on remote video menu

Bettenbuk Zoltan82f6931ee843
diff --git a/react/features/filmstrip/components/native/Thumbnail.js b/react/features/filmstrip/components/native/Thumbnail.js
index c519847e0f..cbec333006 100644
--- a/react/features/filmstrip/components/native/Thumbnail.js
+++ b/react/features/filmstrip/components/native/Thumbnail.js
@@ -131,7 +131,8 @@ class Thumbnail extends Component<Props> {
<Container
onClick = { disablePin ? undefined : this._onClick }
onLongPress = {
- showRemoteVideoMenu && this._onShowRemoteVideoMenu }
+ showRemoteVideoMenu
+ ? this._onShowRemoteVideoMenu : undefined }
style = { [
styles.thumbnail,
participant.pinned && !disablePin