Add nav key prop
This commit is contained in:
parent
d94de055d8
commit
797d13fd0d
@ -11,8 +11,8 @@ function Nav() {
|
||||
return (
|
||||
<div className='block' style={{textAlign: 'center'}}>
|
||||
{
|
||||
Object.entries(nav).map(([k, v]) => {
|
||||
return <Link href={v}>
|
||||
Object.entries(nav).map(([k, v], i) => {
|
||||
return <Link key={i} href={v}>
|
||||
<a className='button green'>{k}</a>
|
||||
</Link>
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user