Fix warning for unique key prop

This commit is contained in:
Foster Hangdaan 2024-09-11 19:09:18 -04:00
parent 78484748f8
commit 48854c3d0e
Signed by: foster
GPG key ID: E48D7F49A852F112

View file

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