Update modal.tsx

This commit is contained in:
Henrik Larsson 2023-08-13 23:09:09 +02:00 committed by GitHub
parent 30e9b591ce
commit e703943014
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ export default function MobileMenuModal({ items }: MobileMenuModalProps) {
{items.map((item: { title: string; slug: string }, i: number) => { {items.map((item: { title: string; slug: string }, i: number) => {
return ( return (
<li key={i}> <li key={i}>
<Link onClick={() => setIsOpen(false)} href={`/category/${item.slug}`}> <Link onClick={() => setIsOpen(false)} href={`${item.slug}`}>
{item.title} {item.title}
</Link> </Link>
</li> </li>