diff options
author | Hailey <me@haileyok.com> | 2024-08-28 11:56:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-28 11:56:04 -0700 |
commit | 16d556c3c9f825303be5aa27ab55dd6d386053aa (patch) | |
tree | 4049bf84953f353eaa4c795da9d2961005dd412b /src/screens/Signup/StepCaptcha/index.tsx | |
parent | 94d2180aaafd2146ee2eae51895a4947311a1c51 (diff) | |
download | voidsky-16d556c3c9f825303be5aa27ab55dd6d386053aa.tar.zst |
Ensure captcha verification code gets submitted in signup request (#5010)
Co-authored-by: Eric Bailey <git@esb.lol>
Diffstat (limited to 'src/screens/Signup/StepCaptcha/index.tsx')
-rw-r--r-- | src/screens/Signup/StepCaptcha/index.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/screens/Signup/StepCaptcha/index.tsx b/src/screens/Signup/StepCaptcha/index.tsx index e233d31dd..9050ca061 100644 --- a/src/screens/Signup/StepCaptcha/index.tsx +++ b/src/screens/Signup/StepCaptcha/index.tsx @@ -41,10 +41,9 @@ export function StepCaptcha() { (code: string) => { setCompleted(true) logEvent('signup:captchaSuccess', {}) - const submitTask = {code, mutableProcessed: false} dispatch({ type: 'submit', - task: submitTask, + task: {verificationCode: code, mutableProcessed: false}, }) }, [dispatch], |