[RN] Fix a react warning on remote video menu
This commit is contained in:
parent
2ea5f3c1aa
commit
82f6931ee8
|
@ -131,7 +131,8 @@ class Thumbnail extends Component<Props> {
|
||||||
<Container
|
<Container
|
||||||
onClick = { disablePin ? undefined : this._onClick }
|
onClick = { disablePin ? undefined : this._onClick }
|
||||||
onLongPress = {
|
onLongPress = {
|
||||||
showRemoteVideoMenu && this._onShowRemoteVideoMenu }
|
showRemoteVideoMenu
|
||||||
|
? this._onShowRemoteVideoMenu : undefined }
|
||||||
style = { [
|
style = { [
|
||||||
styles.thumbnail,
|
styles.thumbnail,
|
||||||
participant.pinned && !disablePin
|
participant.pinned && !disablePin
|
||||||
|
|
Loading…
Reference in New Issue