mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-04 06:57:12 +01:00
apply new-link codemod
This commit is contained in:
@@ -37,15 +37,17 @@ 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" />
|
||||
<User />
|
||||
</>
|
||||
</div>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user