toolbox: fix missing key prop
Fixes a React warning.
This commit is contained in:
parent
da9a70129e
commit
a7e0df2623
@ -1083,7 +1083,11 @@ class Toolbox extends Component<Props, State> {
|
|||||||
} />
|
} />
|
||||||
);
|
);
|
||||||
case 'closedcaptions':
|
case 'closedcaptions':
|
||||||
return <ClosedCaptionButton showLabel = { true } />;
|
return (
|
||||||
|
<ClosedCaptionButton
|
||||||
|
key = 'closed-captions'
|
||||||
|
showLabel = { true } />
|
||||||
|
);
|
||||||
case 'security':
|
case 'security':
|
||||||
return (
|
return (
|
||||||
<SecurityDialogButton
|
<SecurityDialogButton
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user