mirror of
https://github.com/nicotsx/ironmount.git
synced 2025-12-10 12:10:51 +01:00
fix(login/onboarding): redirect to dashboard if already logged in
This commit is contained in:
@@ -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 });
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user