Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ixkaito committed Jan 20, 2023
1 parent 81e3df6 commit cd65d80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ const Header: React.FC = () => {
label: 'About',
href: '/about/',
},
].map(({ href, label }) => {
].map(({ href, label }, i) => {
return (
<li>
<li key={i}>
<Link
className="text-gray-500 inline-block hover:text-black pt-[1em] px-[0.1em] pb-[0.75em]"
activeClassName="text-black border-b-2 border-solid border-black"
Expand Down

0 comments on commit cd65d80

Please sign in to comment.