Update Welcome link to login when no user

cgen-3afdce32f85d4a8f98f90ca2c4b954fc
This commit is contained in:
Builder.io 2025-11-10 17:42:22 +00:00
parent 88f08fcd68
commit 68efb2d887

View file

@ -509,7 +509,7 @@ export default function Welcome({
className="bg-aethex-500/20 text-aethex-100 border border-aethex-500/40"
>
<Link
to="/dashboard?tab=connections"
to={user ? "/dashboard?tab=connections" : `/login?next=${encodeURIComponent('/dashboard?tab=connections')}`}
className="flex items-center gap-2"
>
<ShieldCheck className="h-4 w-4" />