otp page update
This commit is contained in:
@@ -52,13 +52,8 @@ const validationSchema = Yup.object().shape({
|
||||
checked: Yup.bool(),
|
||||
});
|
||||
|
||||
interface BasicInfoProps {
|
||||
handleNextStep: any;
|
||||
}
|
||||
|
||||
const EmployerValidation: React.FC<BasicInfoProps> = ({
|
||||
handleNextStep,
|
||||
}) => {
|
||||
const EmployerValidation: React.FC= () => {
|
||||
// const inputRef = useRef<HTMLInputElement>(null);
|
||||
|
||||
// const handleInput = (e: React.FormEvent<HTMLInputElement>) => {
|
||||
@@ -83,7 +78,6 @@ const EmployerValidation: React.FC<BasicInfoProps> = ({
|
||||
//FUNCTION TO HANDLE SUBMIT
|
||||
const handleSubmit = (values:any) => {
|
||||
console.log(values)
|
||||
handleNextStep()
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user