diff --git a/src/components/Auth/SignUp/helper/HelperInfo.jsx b/src/components/Auth/SignUp/helper/HelperInfo.jsx index 2ec87d0..2ddd706 100644 --- a/src/components/Auth/SignUp/helper/HelperInfo.jsx +++ b/src/components/Auth/SignUp/helper/HelperInfo.jsx @@ -65,8 +65,12 @@ export default function HelperInfo() { setHelperInfoField('gender', value)}> - 남성 - 여성 + + 남성 + + + 여성 + {!isFirstCheck && !gender && (

@@ -117,8 +121,12 @@ export default function HelperInfo() { setHelperInfoField('carOwnYn', value)}> - - 아니오 + + 예 + + + 아니오 + {!isFirstCheck && !carOwnYn && (

@@ -129,8 +137,12 @@ export default function HelperInfo() { setHelperInfoField('eduYn', value)}> - - 아니오 + + 예 + + + 아니오 + {!isFirstCheck && !eduYn && (

diff --git a/src/components/ui/custom/multiRadio.jsx b/src/components/ui/custom/multiRadio.jsx index 24f910a..f093dcf 100644 --- a/src/components/ui/custom/multiRadio.jsx +++ b/src/components/ui/custom/multiRadio.jsx @@ -24,7 +24,7 @@ const Radio = ({ className, children, onValueChange, cols, multiple = false, ... {...props} > {children.map((child, idx) => { - let value = child.props.value || child.props.children; + let value = child.props.value ?? child.props.children; return child ? React.cloneElement(child, { @@ -32,7 +32,7 @@ const Radio = ({ className, children, onValueChange, cols, multiple = false, ... onClick: () => { handleChecked(value); }, - checked: multiple ? checkedItems.includes(value) : checkedItems === value, + // checked: multiple ? checkedItems.includes(value) : checkedItems === value, }) : null; })} @@ -41,7 +41,7 @@ const Radio = ({ className, children, onValueChange, cols, multiple = false, ... }; const RadioItem = ({ className, children, value, checked, ...props }) => { - const radioValue = value || children; + const radioValue = value ?? children; return (