forked from Kieran/snort
fix: add missing key prop to link
This commit is contained in:
parent
0d67612581
commit
6e47089cc8
@ -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}`);
|
||||
|
Loading…
Reference in New Issue
Block a user