diff --git a/app/routes/account_.verify.tsx b/app/routes/account_.verify.tsx index 693ccda..81b265e 100644 --- a/app/routes/account_.verify.tsx +++ b/app/routes/account_.verify.tsx @@ -32,6 +32,7 @@ function VerifyAuthenticated() { const exchangeToken = useQuery({ queryKey: ["exchange-token", token], retry: false, + enabled: !!user.data?.email && !!token, queryFn: async () => { const ret= await sdk.account!().verifyEmail({ email: user.data?.email as string,