[RN] Fix React warnings

This commit is contained in:
Lyubo Marinov 2017-11-07 17:26:23 -06:00
parent 78d1fd10e2
commit 70d064cfa2
1 changed files with 6 additions and 2 deletions

View File

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