login page update

This commit is contained in:
Bulut Kuru
2026-03-27 22:12:23 +03:00
parent 786259c2a7
commit 0c26bd7bcc
4 changed files with 77 additions and 57 deletions

View File

@@ -9,7 +9,7 @@ export const Route = createFileRoute('/_authenticated')({
throw redirect({
to: '/sign-in',
search: {
redirect: location.href,
redirect: location.href === '/' ? undefined : location.href,
},
})
}