fix(login/onboarding): redirect to dashboard if already logged in

This commit is contained in:
Nicolas Meienberger
2025-10-25 22:42:51 +02:00
parent a7bc1c2e7e
commit 37a22b260f
4 changed files with 20 additions and 6 deletions

View File

@@ -29,7 +29,7 @@ export default function Layout({ loaderData }: Route.ComponentProps) {
},
onError: (error) => {
console.error(error);
toast.error("Logout failed");
toast.error("Logout failed", { description: error.message });
},
});