Skip to content

Commit

Permalink
fix-(Examples) Updated link tags in Auth0 example code. (#47518)
Browse files Browse the repository at this point in the history
Updated The link Tags for example on Auth0.

Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
  • Loading branch information
vinaykulk621 and ijjk committed Mar 25, 2023
1 parent 836539d commit 826fb36
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions examples/auth0/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,31 +11,25 @@ const Header = ({ user, loading }: HeaderProps) => {
<nav>
<ul>
<li>
<Link href="/" legacyBehavior>
<a>Home</a>
</Link>
<Link href="/">Home</Link>
</li>
<li>
<Link href="/about" legacyBehavior>
<a>About</a>
</Link>
<Link href="/about">About</Link>
</li>
<li>
<Link href="/advanced/api-profile" legacyBehavior>
<a>API rendered profile (advanced)</a>
<Link href="/advanced/api-profile">
API rendered profile (advanced)
</Link>
</li>
{!loading &&
(user ? (
<>
<li>
<Link href="/profile" legacyBehavior>
<a>Client rendered profile</a>
</Link>
<Link href="/profile">Client rendered profile</Link>
</li>
<li>
<Link href="/advanced/ssr-profile" legacyBehavior>
<a>Server rendered profile (advanced)</a>
<Link href="/advanced/ssr-profile">
Server rendered profile (advanced)
</Link>
</li>
<li>
Expand Down

0 comments on commit 826fb36

Please sign in to comment.