diff --git a/app/routes/_index.tsx b/app/routes/_index.tsx index 2dfbe27..96faf53 100644 --- a/app/routes/_index.tsx +++ b/app/routes/_index.tsx @@ -6,25 +6,37 @@ export default function Page() { const anonymousLoginAndStart = async () => { const user = await authClient.getSession(); if (user.data) { - const _user = await authClient.signOut(); + await authClient.signOut(); } - const _user = await authClient.signIn.anonymous(); + await authClient.signIn.anonymous(); navigate("/play"); }; return ( - <> -