Skip to content

Commit

Permalink
fix: loading error in signup
Browse files Browse the repository at this point in the history
Fixed an error in which the loading state (button disabled) was completed before the sign up was completed
  • Loading branch information
FleetAdmiralJakob committed May 11, 2024
1 parent 9473323 commit 484c38a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/(auth)/sign-up/signup-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ export function SignUpForm() {
if (result.status === "complete") {
await setActive({ session: result.createdSessionId });
setSignUpComplete(true);
return;
}
} catch (e) {
console.error("Problem with the sign-in process");
Expand Down

0 comments on commit 484c38a

Please sign in to comment.