react-otpcode-input
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -110,2 +110,3 @@ "use strict"; | ||
var newOtp = otp + key; | ||
console.log(newOtp); | ||
setActiveIndex(activeIndex + 1); | ||
@@ -112,0 +113,0 @@ onChange(newOtp); |
@@ -73,5 +73,6 @@ import React, { useState, useEffect, useRef } from "react"; | ||
const newOtp = otp + key; | ||
console.log(newOtp); | ||
setActiveIndex(activeIndex + 1); | ||
onChange(newOtp); | ||
if (newOtp.length === numberOfInputs) { | ||
@@ -78,0 +79,0 @@ onComplete(otp); |
{ | ||
"name": "react-otpcode-input", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "OTP Input Component", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11787
238