Set key for SelectPluginSheet row

Summary: Getting a React warning because it previously didn't.

Reviewed By: jknoxville

Differential Revision: D17736486

fbshipit-source-id: 422e023abe0501804d5b447e365ff014969d6286
This commit is contained in:
Pascal Hartig
2019-10-03 09:13:19 -07:00
committed by Facebook Github Bot
parent 22f8d26c33
commit 485898f5c7

View File

@@ -151,6 +151,7 @@ export default class SelectPluginSheet extends Component<Props, State> {
return (
<PluginRowComponent
name={pluginID}
key={pluginID}
selected={selected}
onChange={(id: string, selected: boolean) => {
plugins.set(id, selected);