Skip to content
Snippets Groups Projects
Commit 656bd518 authored by Jack Reed's avatar Jack Reed
Browse files

use canvas index (rather than iterator) to invalidate React caching

parent bdcb58a9
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,7 @@ class ThumbnailNavigation extends Component {
>
{currentGroupings.map((canvas, i) => (
<div
key={i} // eslint-disable-line react/no-array-index-key
key={canvas.index}
style={{ position: 'absolute', left: (style.width - 8) * i / 2, top: 2 }}
>
<CanvasThumbnail
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment