Update Welcome link to login when no user
cgen-3afdce32f85d4a8f98f90ca2c4b954fc
This commit is contained in:
parent
88f08fcd68
commit
68efb2d887
1 changed files with 1 additions and 1 deletions
|
|
@ -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" />
|
||||
|
|
|
|||
Loading…
Reference in a new issue