Merge pull request #4941 from paulkaplan/proper-keys

Fix library images lagging behind filter changes
This commit is contained in:
Paul Kaplan authored and GitHub committed 2019-06-26 12:53:44 -04:00
commit 095fea939d
1 file changed
+1 -1
+1 -1
View File
@@ -185,7 +185,7 @@ class LibraryComponent extends React.Component {
id={index}
insetIconURL={dataItem.insetIconURL}
internetConnectionRequired={dataItem.internetConnectionRequired}
key={`item_${index}`}
key={typeof dataItem.name === 'string' ? dataItem.name : dataItem.rawURL}
name={dataItem.name}
onMouseEnter={this.handleMouseEnter}
onMouseLeave={this.handleMouseLeave}