more
This commit is contained in:
@@ -68,8 +68,9 @@ const SignupPage = () => {
|
||||
}
|
||||
};
|
||||
|
||||
const handleChangeRadioInput = (name) => {
|
||||
//console.log("name", name.label);
|
||||
const handleChangeRadioInput = (value) => {
|
||||
const temp = value;
|
||||
setActiveRadioOption(temp);
|
||||
};
|
||||
signupRadioFields.map((option) => {
|
||||
console.log(option.value);
|
||||
@@ -375,7 +376,6 @@ const SignupPage = () => {
|
||||
<div className="radio-group-box">
|
||||
{signupRadioFields?.map((option, i) => (
|
||||
<Radio
|
||||
option={option.name}
|
||||
onClick={handleChangeRadioInput}
|
||||
value={option.value}
|
||||
name={option.name}
|
||||
|
||||
Reference in New Issue
Block a user