diff --git a/src/components/practice/CategoryPractice.tsx b/src/components/practice/CategoryPractice.tsx index ab0c147..081e442 100644 --- a/src/components/practice/CategoryPractice.tsx +++ b/src/components/practice/CategoryPractice.tsx @@ -77,7 +77,7 @@ const CategoryPractice = () => { ) ) : ( = ({ onNext, onUpdate }) => { const [checks, setChecks] = useState({ privacy: false, service: false, - age: false, marketing: false, }); const [activePage, setActivePage] = useState(null); @@ -29,7 +27,6 @@ const Step1: React.FC = ({ onNext, onUpdate }) => { const newChecks = { privacy: newCheckedState, service: newCheckedState, - age: newCheckedState, marketing: newCheckedState, }; setChecks(newChecks); @@ -55,7 +52,8 @@ const Step1: React.FC = ({ onNext, onUpdate }) => { setActivePage(null); }; - const isNextEnabled = checks.privacy && checks.service && checks.age; + const isNextEnabled = checks.privacy && checks.service; + return (
@@ -93,7 +91,7 @@ const Step1: React.FC = ({ onNext, onUpdate }) => { /> 모두 동의합니다
- {['privacy', 'service', 'age', 'marketing'].map((key, index) => ( + {['privacy', 'service', 'marketing'].map((key, index) => (
= ({ onNext, onUpdate }) => { height={24} /> - {index < 3 ? `[필수] ` : `[선택] `} + {index < 2 ? `[필수] ` : `[선택] `} {key === 'privacy' && '개인정보 수집 / 이용동의'} {key === 'service' && '서비스 이용 동의'} - {key === 'age' && '만 14세 이상입니다'} {key === 'marketing' && '마케팅 메시지 수신 동의'}
@@ -140,10 +137,9 @@ const Step1: React.FC = ({ onNext, onUpdate }) => { {activePage === 'privacy' && } {activePage === 'service' && } - {activePage === 'age' && } {activePage === 'marketing' && }
); }; -export default Step1; +export default Step1; \ No newline at end of file