fix: add missing key prop to link

This commit is contained in:
Alejandro Gomez 2023-01-06 13:45:06 +01:00
parent 0d67612581
commit 6e47089cc8
No known key found for this signature in database
GPG Key ID: 4DF39E566658C817
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ export function extractLinks(fragments) {
}
}
} else {
return <a href={url}>{url.toString()}</a>
return <a key={url} href={url}>{url.toString()}</a>
}
} catch (e) {
console.warn(`Not a valid url: ${a}`);