Skip to content

Commit

Permalink
Merge pull request #152 from hckang17/dev
Browse files Browse the repository at this point in the history
FIX:설문조사 페이지 -약관동의- 버그 수정
  • Loading branch information
kjungw1025 authored Dec 17, 2023
2 parents f062baf + 4c02bd1 commit b4e48ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/views/index-sections/SurveyForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function SurveyForm() {
const [rememberAnswer, setRememberAnswer] = useState(true);
// 기억 체크박스를 위해

const [agreementOfTerm, setAgreementOfTerm] = useState(false);
// const [agreementOfTerm, setAgreementOfTerm] = useState(false);

const [rememberGender, setRememberGender] = useState(sessionStorage.getItem("Qgender") ? sessionStorage.getItem("Qgender") : "");
const [rememberOld, setRememberOld] = useState(sessionStorage.getItem("Qold") ? sessionStorage.getItem("Qold") : "");
Expand Down Expand Up @@ -357,8 +357,8 @@ function SurveyForm() {
<Input
id="agreeCheckbox"
type="checkbox"
checked={agreementOfTerm}
onChange={() => setAgreementOfTerm(!agreementOfTerm)}
checked={rememberAgreement}
onChange={() => setRememberAgreement(!rememberAgreement)}
/>
<span className="form-check-sign">두피체크 약관에 동의합니다. 
</span>
Expand Down

0 comments on commit b4e48ab

Please sign in to comment.