Skip to content

Commit 7bdccb4

Browse files
committed
feat: try to make otp works
1 parent a922316 commit 7bdccb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ const ReactInputVerificationCode = ({
151151
/**
152152
* otp code
153153
*/
154-
if (eventValue.length > 1) {
154+
if (eventValue.length > 2) {
155155
console.log('RIVC: isOtp', true);
156156
console.log('RIVC: fillValues(eventValue)', fillValues(eventValue));
157157

0 commit comments

Comments
 (0)