Add nav key prop

This commit is contained in:
Paul W 2022-10-04 23:46:16 -04:00
parent d94de055d8
commit 797d13fd0d
No known key found for this signature in database
GPG Key ID: 5007FDE02574ED90

View File

@ -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>
})