Merge branch 'main' of github.com:supermemoryai/supermemory

This commit is contained in:
Dhravya Shah 2024-08-02 09:09:45 -07:00
commit 32bb9d7759

View file

@ -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 (