Commit 3ab20a7f authored by Fabien Amarger's avatar Fabien Amarger
Browse files

fix: [localisation] Fix info type URI a key props

parent f2a9b8f9ed35
Pipeline #15095 failed with stages
in 3 minutes and 21 seconds
...@@ -92,7 +92,7 @@ export const BienCulturelInfo: React.FC<BienCulturelInfoProps> = (props) => { ...@@ -92,7 +92,7 @@ export const BienCulturelInfo: React.FC<BienCulturelInfoProps> = (props) => {
<h1>{uri !== undefined ? <a href={generateUrl(uri)}>{label}</a> : label}</h1> <h1>{uri !== undefined ? <a href={generateUrl(uri)}>{label}</a> : label}</h1>
<h5> <h5>
{urisLabel.map(({ label, uri }) => ( {urisLabel.map(({ label, uri }) => (
<a href={generateUrl(uri)}> <a key={uri} href={generateUrl(uri)}>
<Badge style={{ margin: '5px', color: 'white' }} key={uri} variant="primary"> <Badge style={{ margin: '5px', color: 'white' }} key={uri} variant="primary">
{label ?? uri} {label ?? uri}
</Badge> </Badge>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment