fix: make dashboard login button a relative link (#38793)

Change the link to a relative one so that it'll automatically
reconfigure based on the domain.
This commit is contained in:
Charis
2025-09-18 14:06:48 -04:00
committed by GitHub
parent b4c6c414a8
commit fb4f7fc284

View File

@@ -84,12 +84,7 @@ const TopNavBar: FC = () => {
<div className="hidden lg:flex items-center justify-end gap-3">
{!isUserLoading && (
<Button asChild>
<a
href="https://supabase.com/dashboard"
className="h-[30px]"
target="_blank"
rel="noreferrer noopener"
>
<a href="/dashboard" className="h-[30px]" target="_blank" rel="noreferrer noopener">
{isLoggedIn ? 'Dashboard' : 'Sign up'}
</a>
</Button>