From 904306defad15b7927b8f6fb4e9c35a76de8be07 Mon Sep 17 00:00:00 2001 From: David Lyon Date: Fri, 6 Dec 2024 17:15:47 -0800 Subject: [PATCH] fix loader error --- src/features/signup/SignUp.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/signup/SignUp.tsx b/src/features/signup/SignUp.tsx index 1fdc9e2e..c3b5ec3d 100644 --- a/src/features/signup/SignUp.tsx +++ b/src/features/signup/SignUp.tsx @@ -138,7 +138,7 @@ export const useDoSignup = () => { const tokenQuery = useTryAuthFromToken(tryToken); const complete = createComplete && tokenQuery.isSuccess; - const loading = createLoading || !complete; + const loading = createLoading || tokenQuery.isLoading; // once everything completes and we're authed from the token, redirect to root. useEffect(() => {