Skip to content

Commit

Permalink
Rectified console errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sahi123-cloud committed May 15, 2024
1 parent e37f1de commit 99ed71e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/components/Header/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function Header(){
{/* primary */}
<div className="hidden lg:flex gap-8 ">
{navItems.map((item, index) => (
<a href={item.url} index={index}>
<a href={item.url} key={index}> {/*changed index={index} to key={index} to make list items unique*/}
{item.title}
</a>
))}
Expand Down Expand Up @@ -86,7 +86,7 @@ function Header(){
Features
</a> */}
{navItems.map((item, index) => (
<a href="/" index={index}>
<a href="/" key={index}>{/*changed index={index} to key={index} to make list items unique*/}
{item.title}
</a>
))}
Expand Down
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 99ed71e

Please sign in to comment.