Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: fix issue with duplicated key

Ilian Sapundshiev5b47c332ca19
diff --git a/src/renderer/components/TagLibrary.tsx b/src/renderer/components/TagLibrary.tsx
index c0de1da7c..e2cdd44cb 100644
--- a/src/renderer/components/TagLibrary.tsx
+++ b/src/renderer/components/TagLibrary.tsx
@@ -217,7 +217,7 @@ function TagLibrary({ reduceHeightBy }: Props) {
tag.functionality && tag.functionality.length > 0;
return (
<TagContainerDnd
- key={tagGroup.uuid + tag.title}
+ key={tagGroup.uuid + idx}
index={idx}
tag={tag}
tagGroup={tagGroup}