Skip to content

Commit 9b5d681

Browse files
committed
fix(home): remove stale ?from=nav params in landing nav
1 parent 5fa1042 commit 9b5d681

File tree

1 file changed

+2
-2
lines changed
  • apps/sim/app/(landing)/components/nav

1 file changed

+2
-2
lines changed

apps/sim/app/(landing)/components/nav/nav.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default function Nav({ hideAuthButtons = false, variant = 'landing' }: Na
2929
const buttonClass = useBrandedButtonClass()
3030
const { data: session, isPending: isSessionPending } = useSession()
3131
const isAuthenticated = Boolean(session?.user?.id)
32-
const logoHref = isAuthenticated ? '/?home' : '/?from=nav'
32+
const logoHref = isAuthenticated ? '/?home' : '/'
3333

3434
useEffect(() => {
3535
if (variant !== 'landing') return
@@ -76,7 +76,7 @@ export default function Nav({ hideAuthButtons = false, variant = 'landing' }: Na
7676
</li>
7777
<li>
7878
<Link
79-
href={isAuthenticated ? '/?home#pricing' : '/?from=nav#pricing'}
79+
href={isAuthenticated ? '/?home#pricing' : '/#pricing'}
8080
className='text-[16px] text-muted-foreground transition-colors hover:text-foreground'
8181
scroll={true}
8282
>

0 commit comments

Comments
 (0)