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 React warnings

Lyubo Marinov70d064cfa2af
diff --git a/react/features/toolbox/components/Toolbox.native.js b/react/features/toolbox/components/Toolbox.native.js
index cefddda31e..4e371d3e43 100644
--- a/react/features/toolbox/components/Toolbox.native.js
+++ b/react/features/toolbox/components/Toolbox.native.js
@@ -232,7 +232,9 @@ class Toolbox extends Component {
/* eslint-disable react/jsx-handler-names */
return (
- <View style = { styles.primaryToolbar }>
+ <View
+ key = 'primaryToolbar'
+ style = { styles.primaryToolbar }>
<ToolbarButton
iconName = { audioButtonStyles.iconName }
iconStyle = { audioButtonStyles.iconStyle }
@@ -275,7 +277,9 @@ class Toolbox extends Component {
/* eslint-disable react/jsx-curly-spacing,react/jsx-handler-names */
return (
- <View style = { styles.secondaryToolbar }>
+ <View
+ key = 'secondaryToolbar'
+ style = { styles.secondaryToolbar }>
<ToolbarButton
disabled = { audioOnly || videoMuted }
iconName = 'switch-camera'