Skip to content

Commit

Permalink
ability to add maps to logged in user
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspal007 committed Oct 17, 2024
1 parent 4ec645e commit f39812f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ export default function Header() {
<Link href="/leaderboard">
<Button variant="ghost">Leaderboard</Button>
</Link>
<Link href="/maps">
<Button variant="ghost">Add custom Maps</Button>
</Link>
{isAuthenticated && (
<Link href="/maps">
<Button variant="ghost">Add custom Maps</Button>
</Link>
)}
{flags?.showTestPage && (
<Link href="/test">
<Button variant="ghost">Test</Button>
Expand Down

0 comments on commit f39812f

Please sign in to comment.