Fix warning
This commit is contained in:
@@ -15,5 +15,5 @@ export default function AnTeks({parole, paroleId}) {
|
|||||||
|
|
||||||
AnTeks.propTypes = {
|
AnTeks.propTypes = {
|
||||||
parole: PropTypes.object,
|
parole: PropTypes.object,
|
||||||
paroleId: PropTypes.string,
|
paroleId: PropTypes.number
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -142,7 +142,7 @@ export default function Teks({parole}) {
|
|||||||
{enhancedAliases.map(({type, value}) => {
|
{enhancedAliases.map(({type, value}) => {
|
||||||
if (type === 'element') {
|
if (type === 'element') {
|
||||||
return (
|
return (
|
||||||
<Link style={{textDecoration: 'none', color: 'inherit'}} href={`/awtis/${slugify(value, {lower: true, remove: /[*#+~.()'"!:@]/g})}`}>{value}</Link>
|
<Link key={value} style={{textDecoration: 'none', color: 'inherit'}} href={`/awtis/${slugify(value, {lower: true, remove: /[*#+~.()'"!:@]/g})}`}>{value}</Link>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user