fix: remove option label when type is radio
All checks were successful
/ deploy_site (push) Successful in 3m45s

This commit is contained in:
Minhyeok Park 2024-10-28 21:45:49 +09:00
parent 314e0e76f8
commit 76fe3e8083
Signed by: pmh_only
SSH Key Fingerprint: SHA256:g/OyGvi2pcd8ub9mqge/ohmDP0fZX/xOPWPIcM+9XpI

View File

@ -145,8 +145,6 @@ export const TransformGridItem: FC<TransformGridItemProp> = ({ transform }) => {
key={i} key={i}
onChange={onRadioOptionChanged(option)} onChange={onRadioOptionChanged(option)}
className={style.optionItem}> className={style.optionItem}>
<p>{option.label ?? option.key}:</p>
{option.radios.map((radio, i2) => ( {option.radios.map((radio, i2) => (
<label key={i2}> <label key={i2}>
<p>{radio.label ?? radio.value}:</p> <p>{radio.label ?? radio.value}:</p>