Add keys to DownloadLink menu items
This commit is contained in:
parent
94c22961c6
commit
0796dbf285
1 changed files with 2 additions and 2 deletions
|
@ -251,8 +251,8 @@ export let DownloadLink = React.createClass({
|
||||||
const openInFolderMessage = window.navigator.platform.startsWith('Mac') ? 'Open in Finder' : 'Open in Folder';
|
const openInFolderMessage = window.navigator.platform.startsWith('Mac') ? 'Open in Finder' : 'Open in Folder';
|
||||||
|
|
||||||
const dropDownItems = [
|
const dropDownItems = [
|
||||||
<MenuItem onClick={this.handleRevealClicked} label={openInFolderMessage} />,
|
<MenuItem key={0} onClick={this.handleRevealClicked} label={openInFolderMessage} />,
|
||||||
<MenuItem onClick={this.handleRemoveClicked} label="Remove..." />,
|
<MenuItem key={1} onClick={this.handleRemoveClicked} label="Remove..." />,
|
||||||
];
|
];
|
||||||
|
|
||||||
let linkBlock;
|
let linkBlock;
|
||||||
|
|
Loading…
Reference in a new issue