|
const haveQuestion = interviewQuestions ?? false |
Object | boolean 처리가 아닌 true/false로 체크하는 방안 제안
|
const Quizextarea = ({ getText }: Props) => { |
QuizTextArea T 누락
|
const getStyles = () => { |
함수 외부의 state를 바로 접근하는 것 보다,
매개변수로 카테고리를 받고 useEffect로 최초실행.
혹은 삼항연산자를 이용하는 것도 괜찮을 듯 합니다
const getStyles = (category: string) => { ... }
return( ... getStyles(category) ...)
inqd-client/src/pages/Main/index.tsx
Line 36 in 9f7f62c
Object | boolean 처리가 아닌 true/false로 체크하는 방안 제안
inqd-client/src/pages/CreateQuiz/QuizTextarea/index.tsx
Line 8 in 9f7f62c
QuizTextArea T 누락
inqd-client/src/pages/CreateQuiz/index.tsx
Line 42 in 9f7f62c
함수 외부의 state를 바로 접근하는 것 보다,
매개변수로 카테고리를 받고 useEffect로 최초실행.
혹은 삼항연산자를 이용하는 것도 괜찮을 듯 합니다