Skip to content

Commit 12d2321

Browse files
authored
Merge pull request #305 from Pseudo-Lab/feat/getcloser/frontend/lint
fix(getcloser): lint errors
2 parents 2155f17 + 7fad3e4 commit 12d2321

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

โ€Žgetcloser/frontend/src/app/pages/Page3.tsxโ€Ž

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ interface TeamMember {
1616
}
1717

1818
const questions = [
19-
{ category: '1', keyword: '๊ด€์‹ฌ์‚ฌ', problem: '๋‹˜์˜ ๊ด€์‹ฌ์‚ฌ๋ฅผ ๋งž์ถฐ์ฃผ์„ธ์š”.', options: [ 'Agentic AI', 'AI Ethics', 'AI Security', 'Causal Inference', 'Computer Graphics', 'Computer Vision', 'Efficient AI', 'LLM/Multimodal', 'Physical AI', 'XAI' ]},
20-
{ category: '2', keyword: '๊ณ„์ ˆ', problem: '๋‹˜์ด ์ข‹์•„ํ•˜๋Š” ๊ณ„์ ˆ์„ ๋งž์ถฐ์ฃผ์„ธ์š”.', options: ['๋ด„', '์—ฌ๋ฆ„', '๊ฐ€์„', '๊ฒจ์šธ'] },
21-
{ category: '3', keyword: 'MBTI', problem: '๋‹˜์˜ MBTI ์œ ํ˜•์„ ๋งž์ถฐ์ฃผ์„ธ์š”.', options: ['INFP', 'ENFP', 'INFJ', 'ENFJ', 'INTJ', 'ENTJ', 'INTP', 'ENTP', 'ISFP', 'ESFP', 'ISTP', 'ESTP', 'ISFJ', 'ESFJ', 'ISTJ', 'ESTJ'] },
19+
{ category: '1', keyword: '๊ด€์‹ฌ์‚ฌ', problem: '๋‹˜์˜ ๊ด€์‹ฌ์‚ฌ๋ฅผ ๋งž์ถฐ์ฃผ์„ธ์š”.', options: [ 'Agentic AI', 'AI Ethics', 'AI Security', 'Causal Inference', 'Computer Graphics', 'Computer Vision', 'Efficient AI', 'LLM/Multimodal', 'Physical AI', 'XAI' ] },
20+
{ category: '2', keyword: '๊ณ„์ ˆ', problem: '๋‹˜์ด ์ข‹์•„ํ•˜๋Š” ๊ณ„์ ˆ์„ ๋งž์ถฐ์ฃผ์„ธ์š”.', options: ['๋ด„', '์—ฌ๋ฆ„', '๊ฐ€์„', '๊ฒจ์šธ'] },
21+
{ category: '3', keyword: 'MBTI', problem: '๋‹˜์˜ MBTI ์œ ํ˜•์„ ๋งž์ถฐ์ฃผ์„ธ์š”.', options: ['INFP', 'ENFP', 'INFJ', 'ENFJ', 'INTJ', 'ENTJ', 'INTP', 'ENTP', 'ISFP', 'ESFP', 'ISTP', 'ESTP', 'ISFJ', 'ESFJ', 'ISTJ', 'ESTJ'] },
2222
];
2323

2424
interface QuestionInfo {
@@ -41,7 +41,7 @@ const getJsonFromResponse = async (response: Response) => {
4141
};
4242

4343
export default function Page3() {
44-
const { question, answer, challengeId, setAnswer, id, teamId, memberIds, setQuestion, setChallengeId, setProgressStatus, reset } = useFormStore(); // Destructure new state
44+
const { question, challengeId, setAnswer, id, teamId, memberIds, setQuestion, setChallengeId, setProgressStatus, reset } = useFormStore(); // Destructure new state
4545
const { setCurrentPage } = useNavigationStore();
4646
const [currentQuestionInfo, setCurrentQuestionInfo] = useState<QuestionInfo | null>(null);
4747

@@ -51,10 +51,10 @@ export default function Page3() {
5151
if (question) {
5252
// Still need to set the question info for rendering options
5353
if (!currentQuestionInfo) {
54-
const loadedQuestionCategory = questions.find(q => question.includes(q.problem));
55-
if(loadedQuestionCategory) {
56-
setCurrentQuestionInfo(loadedQuestionCategory as QuestionInfo); // Cast to QuestionInfo
57-
}
54+
const loadedQuestionCategory = questions.find(q => question.includes(q.problem));
55+
if(loadedQuestionCategory) {
56+
setCurrentQuestionInfo(loadedQuestionCategory as QuestionInfo); // Cast to QuestionInfo
57+
}
5858
}
5959
console.log('Question already exists, skipping initialization.');
6060
return;

0 commit comments

Comments
ย (0)