Skip to content

Commit

Permalink
refactor: 필수 확인 문구 온점 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
jiu authored and jiu committed Feb 28, 2025
1 parent aec213b commit 75b75fc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions frontend/src/constants/application/29/designer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,14 +170,14 @@ export const APPLICATION_DESIGN: ApplicationQuestion[] = [
title:
"에코노베이션은 3학기 이상의 활동과 매주 금요일 17시 주간발표 참여가 필수이며, 최종 합격 시 신입 기수로 구성된 팀으로 한 학기 동안 활동하게 됩니다. \n또한, 에코노베이션에서 운영되고 있는 다양한 부서 활동과 네트워킹 행사에 적극적인 참여를 권장합니다.",
subtitle:
"위 내용을 확인하셨으면 <b>'확인했습니다'</b>를 기입해주세요.\n확인하지 않았을 시 합격이 취소될 수 있습니다.",
"위 내용을 확인하셨으면 <b>'확인했습니다.'</b>를 기입해주세요.\n확인하지 않았을 시 합격이 취소될 수 있습니다.",
require: true,
nodes: [
{
type: "text",
name: "check",
validate: "confirmationString",
errorMessages: '"확인했습니다"를 입력해주세요.',
errorMessages: '"확인했습니다."를 입력해주세요.',
require: true,
},
],
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/constants/application/29/developer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,14 +139,14 @@ export const APPLICATION_DEVELOPER: ApplicationQuestion[] = [
title:
"에코노베이션은 3학기 이상의 활동과 매주 금요일 17시 주간발표 참여가 필수이며, 최종 합격 시 신입 기수로 구성된 팀으로 한 학기 동안 활동하게 됩니다. \n또한, 에코노베이션에서 운영되고 있는 다양한 부서 활동과 네트워킹 행사에 적극적인 참여를 권장합니다.",
subtitle:
"위 내용을 확인하셨으면 <b>'확인했습니다'</b>를 기입해주세요.\n확인하지 않았을 시 합격이 취소될 수 있습니다.",
"위 내용을 확인하셨으면 <b>'확인했습니다.'</b>를 기입해주세요.\n확인하지 않았을 시 합격이 취소될 수 있습니다.",
require: true,
nodes: [
{
type: "text",
name: "check",
validate: "confirmationString",
errorMessages: '"확인했습니다"를 입력해주세요.',
errorMessages: '"확인했습니다."를 입력해주세요.',
require: true,
},
],
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/constants/application/29/manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,14 +190,14 @@ export const APPLICATION_MANAGER: ApplicationQuestion[] = [
title:
"에코노베이션은 3학기 이상의 활동과 매주 금요일 17시 주간발표 참여가 필수이며, 최종 합격 시 신입 기수로 구성된 팀으로 한 학기 동안 활동하게 됩니다. \n또한, 에코노베이션에서 운영되고 있는 다양한 부서 활동과 네트워킹 행사에 적극적인 참여를 권장합니다.",
subtitle:
"위 내용을 확인하셨으면 <b>'확인했습니다'</b>를 기입해주세요.\n확인하지 않았을 시 합격이 취소될 수 있습니다.",
"위 내용을 확인하셨으면 <b>'확인했습니다.'</b>를 기입해주세요.\n확인하지 않았을 시 합격이 취소될 수 있습니다.",
require: true,
nodes: [
{
type: "text",
name: "check",
validate: "confirmationString",
errorMessages: '"확인했습니다"를 입력해주세요.',
errorMessages: '"확인했습니다."를 입력해주세요.',
require: true,
},
],
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/hooks/useApplication.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ export const useApplication = () => {
case "email":
return !isEmail(localStorageValueFromName) ? "email" : "";
case "check":
return localStorageValueFromName !== "확인했습니다" ? "check" : "";
return !localStorageValueFromName.includes("확인했습니다")
? "check"
: "";
case "channel":
return localStorageValueFromName.length === 0 &&
localStorage.get("channelEtc", EMPTY_STRING).length === 0
Expand Down

0 comments on commit 75b75fc

Please sign in to comment.