Use a key that doesn't change to avoid re-render issues; closes #2203

This commit is contained in:
Dane Everitt
2020-08-01 18:48:58 -07:00
parent 21a4ce8043
commit b92c97060b
6 changed files with 12 additions and 11 deletions

View File

@@ -65,7 +65,7 @@ export default () => {
}
{
sortFiles(files.slice(0, 250)).map(file => (
<FileObjectRow key={file.uuid} file={file}/>
<FileObjectRow key={file.key} file={file}/>
))
}
<MassActionsBar/>