fix duplicate keys

This commit is contained in:
mrjvs 2023-10-19 16:37:15 +02:00
parent e939c6b0bd
commit 2cea886867

View File

@ -140,7 +140,7 @@ export function EmbedSelectionView({ sourceId, id }: EmbedSelectionViewProps) {
else if (request.value) else if (request.value)
content = request.value.map((v) => ( content = request.value.map((v) => (
<EmbedOption <EmbedOption
key={v.embedId} key={`${v.embedId}-${v.url}`}
embedId={v.embedId} embedId={v.embedId}
url={v.url} url={v.url}
routerId={id} routerId={id}