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 58e1343 commit 72a4c6dCopy full SHA for 72a4c6d
1 file changed
apps/website/app/components/auth/LoginWithToken.tsx
@@ -24,6 +24,10 @@ export const LoginWithToken = () => {
24
setError(result.error.message);
25
return;
26
}
27
+ if (result.data == null) {
28
+ setError("This token does not exist");
29
+ return;
30
+ }
31
if (typeof result.data !== "string") {
32
setError("Payload is not a string");
33
0 commit comments