fix Link components with anchor

This commit is contained in:
Thomas Ruoff
2022-12-22 22:48:46 +01:00
parent a3735160c9
commit e0fe762c80
7 changed files with 30 additions and 40 deletions

View File

@@ -37,10 +37,8 @@ export default function Navigation() {
<span className="font-extrabold">{pathLabel}</span>
</h2>
{status === 'authenticated' && data.user.email && (
<Link href="/admin">
<a className="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">
<Link href="/admin" className="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">
Buchungen
</a>
</Link>
)}
<div className="flex-grow" />