We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72a4c6d commit 078f664Copy full SHA for 078f664
1 file changed
apps/website/app/components/auth/LoginWithToken.tsx
@@ -54,7 +54,9 @@ export const LoginWithToken = () => {
54
router.replace(url);
55
}
56
} catch (error) {
57
- setError("error");
+ setError(
58
+ error instanceof Error ? error.message : "Unknown error occurred",
59
+ );
60
} finally {
61
setDone(true);
62
0 commit comments