Fix warning for unique key prop
This commit is contained in:
parent
78484748f8
commit
48854c3d0e
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ export default function Navbar() {
|
||||||
<nav className="navbar">
|
<nav className="navbar">
|
||||||
<ul className="navbar-list">
|
<ul className="navbar-list">
|
||||||
{items.map((item) => (
|
{items.map((item) => (
|
||||||
<li>
|
<li key={item.title}>
|
||||||
<a href={item.path} className="button">
|
<a href={item.path} className="button">
|
||||||
<img
|
<img
|
||||||
alt={item.icon.alt}
|
alt={item.icon.alt}
|
||||||
|
|
Loading…
Reference in a new issue