From a464aa8d62807d30238883c954f9264a17d2e6f8 Mon Sep 17 00:00:00 2001
From: Jack Reed <phillipjreed@gmail.com>
Date: Tue, 27 Oct 2020 09:31:30 -0600
Subject: [PATCH] Fixup some react key warning behavior

---
 src/components/AttributionPanel.js  | 2 +-
 src/components/CanvasAnnotations.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/components/AttributionPanel.js b/src/components/AttributionPanel.js
index 15063c45c..d443a5d07 100644
--- a/src/components/AttributionPanel.js
+++ b/src/components/AttributionPanel.js
@@ -44,7 +44,7 @@ export class AttributionPanel extends Component {
               <>
                 <Typography variant="subtitle2" component="dt">{t('rights')}</Typography>
                 { rights.map(v => (
-                  <Typography variant="body1" component="dd">
+                  <Typography variant="body1" component="dd" key={v.toString()}>
                     <Link target="_blank" rel="noopener noreferrer" href={v}>
                       {v}
                     </Link>
diff --git a/src/components/CanvasAnnotations.js b/src/components/CanvasAnnotations.js
index 1f0946a8c..23150c6a3 100644
--- a/src/components/CanvasAnnotations.js
+++ b/src/components/CanvasAnnotations.js
@@ -96,7 +96,7 @@ export class CanvasAnnotations extends Component {
                   <div>
                     {
                       annotation.tags.map(tag => (
-                        <Chip size="small" variant="outlined" label={tag} id={tag} className={classes.chip} />
+                        <Chip size="small" variant="outlined" label={tag} id={tag} className={classes.chip} key={tag.toString()} />
                       ))
                     }
                   </div>
-- 
GitLab