Revert "fix: auto-submit OTP code on completion in get-started verification step"
This reverts commit 9754c73b64ef04f732c66bbabb59e1535b568ad5.
This commit is contained in:
parent
4665394bd4
commit
f6329bbe3b
@ -24,10 +24,6 @@ export function VerificationStep() {
|
||||
setCode(value);
|
||||
};
|
||||
|
||||
const handleCodeComplete = (value: string) => {
|
||||
send({ type: "VERIFY_CODE", code: value });
|
||||
};
|
||||
|
||||
const handleVerify = () => {
|
||||
if (code.length === 6) {
|
||||
send({ type: "VERIFY_CODE", code });
|
||||
@ -57,7 +53,6 @@ export function VerificationStep() {
|
||||
<OtpInput
|
||||
value={code}
|
||||
onChange={handleCodeChange}
|
||||
onComplete={handleCodeComplete}
|
||||
disabled={loading}
|
||||
error={error ?? undefined}
|
||||
autoFocus
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user