toolbox: fix missing key prop

Fixes a React warning.
pull/7226/head
Saúl Ibarra Corretgé 5 years ago committed by Saúl Ibarra Corretgé
parent da9a70129e
commit a7e0df2623
  1. 6
      react/features/toolbox/components/web/Toolbox.js

@ -1083,7 +1083,11 @@ class Toolbox extends Component<Props, State> {
} />
);
case 'closedcaptions':
return <ClosedCaptionButton showLabel = { true } />;
return (
<ClosedCaptionButton
key = 'closed-captions'
showLabel = { true } />
);
case 'security':
return (
<SecurityDialogButton

Loading…
Cancel
Save