mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-07 02:58:11 +00:00
Merge branch 'main' of github.com:supermemoryai/supermemory
This commit is contained in:
commit
32bb9d7759
1 changed files with 2 additions and 1 deletions
|
|
@ -15,10 +15,11 @@ async function Signin({
|
|||
}: {
|
||||
searchParams: Record<string, string>;
|
||||
}) {
|
||||
const telegramUser = searchParams.telegramUser;
|
||||
const user = await auth();
|
||||
|
||||
if (user) {
|
||||
redirect("/home");
|
||||
redirect(`/home` + (telegramUser ? `?telegramUser=${telegramUser}` : ""));
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue