Skip to content

Commit

Permalink
fix loader error
Browse files Browse the repository at this point in the history
  • Loading branch information
dauglyon committed Dec 7, 2024
1 parent 0668a0e commit 904306d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/signup/SignUp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down

0 comments on commit 904306d

Please sign in to comment.