Skip to content

Commit

Permalink
Update Header.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
KyngKai909 authored Mar 15, 2024
1 parent 51097d9 commit dc4fc32
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/nextjs/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,11 @@ export const Header = () => {
</div>
<Link
className={`link-default ${
pathname.includes("explorer") ? "opacity-40 pointer-events-none" : ""
pathname.includes("registration/[id]") && id === "new"
? "opacity-40 pointer-events-none"
: ""
}`}
href="/property-explorer?type=all"
href="/registration/new"
>
Register
</Link>
Expand Down

0 comments on commit dc4fc32

Please sign in to comment.