diff --git a/src/app/(Sub)/menu/withdraw/page.tsx b/src/app/(Sub)/menu/withdraw/page.tsx index 49264ed6..543d3d7f 100644 --- a/src/app/(Sub)/menu/withdraw/page.tsx +++ b/src/app/(Sub)/menu/withdraw/page.tsx @@ -9,6 +9,14 @@ import { Popup } from '@/components/Modal'; import { useOverlay } from '@/components/Overlay/useOverlay'; import { withdrawReasonList } from '@/constants/data'; +const RadioInput = ({ checked }: { checked: boolean }) => { + return checked ? ( + + ) : ( + + ); +}; + export default function Page() { const [withdrawalReason, setWithdrawalReason] = useState(); const [etc, setEtc] = useState(false); @@ -22,10 +30,11 @@ export default function Page() { content={`탈퇴 시 업로드한 포즈를 제외한\n모든 정보가 삭제되며 복구되지 않아요.`} > <> - + router.replace(`/auth/withdraw?reason=${withdrawalReason}`)} + className="bg-[#EC323E]" /> @@ -51,7 +60,7 @@ export default function Page() { setEtc(false); }} > - {item === withdrawalReason && wow} + ))} @@ -62,15 +71,16 @@ export default function Page() { setWithdrawalReason(undefined); }} > + {etc && (