From 9a34685be3f560e9c725b31a9b74edbdd3377022 Mon Sep 17 00:00:00 2001
From: Christophe <christophe.misc+git@protonmail.ch>
Date: Tue, 3 Oct 2023 19:48:34 +0200
Subject: [PATCH] fix(index): missing react key

---
 frontend/pages/index.tsx | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/frontend/pages/index.tsx b/frontend/pages/index.tsx
index d951331..d4d9ecb 100644
--- a/frontend/pages/index.tsx
+++ b/frontend/pages/index.tsx
@@ -77,14 +77,20 @@ const Templates: NextPage = () => {
                                     {difference(availableTags, selectedTags)
                                         .sort()
                                         .map((tag) => (
-                                            <option value={tag}>{tag}</option>
+                                            <option key={tag} value={tag}>
+                                                {tag}
+                                            </option>
                                         ))}
                                 </>
                             )}
                         </select>
                         <div className="ml-2 flex flex-row flex-wrap gap-1">
                             {selectedTags.map((tag) => (
-                                <SelectedTag tag={tag} onDelete={(tag) => unselect(tag)} />
+                                <SelectedTag
+                                    key={tag}
+                                    tag={tag}
+                                    onDelete={(tag) => unselect(tag)}
+                                />
                             ))}
                         </div>
                     </div>
-- 
GitLab