Skip to content

Commit 5088386

Browse files
committed
chore: refactored the component
1 parent 644d5a8 commit 5088386

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/otpInputs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ const OTPInputGroup = ({ autoSubmit = false }) => {
8181
/>
8282
))}
8383
</div>
84-
<div className="btnGroup" onClick={handleSubmit}>
85-
<button className={styles.button}>Complete action</button>
84+
<div className="btnGroup">
85+
<button onClick={handleSubmit} className={styles.button}>Complete action</button>
8686
</div>
8787
</>
8888
);

0 commit comments

Comments
 (0)