Skip to content

Commit ca164e0

Browse files
committed
🐛 Fix focusInput value
1 parent 05428b7 commit ca164e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ class OtpInput extends Component<Props, State> {
250250
}
251251

252252
this.setState({ activeInput: nextActiveInput }, () => {
253-
this.focusInput(activeInput);
253+
this.focusInput(nextActiveInput);
254254
this.handleOtpChange(otp);
255255
});
256256
};

0 commit comments

Comments
 (0)