diff --git a/packages/web-domains/src/about-me/features/containers/AnsweredQuestionsContainer.tsx b/packages/web-domains/src/about-me/features/containers/AnsweredQuestionsContainer.tsx index 613de8a1..021262ba 100644 --- a/packages/web-domains/src/about-me/features/containers/AnsweredQuestionsContainer.tsx +++ b/packages/web-domains/src/about-me/features/containers/AnsweredQuestionsContainer.tsx @@ -29,10 +29,6 @@ export const AnsweredQuestionsContainer = forwardRef((_, ref) => { const checkboxRefs = useRef<(HTMLInputElement | null)[]>([]); - if (answersLength === 0) { - return ; - } - const handleModify = () => { const checkedIds = checkboxRefs.current .filter((checkbox) => checkbox?.checked) @@ -46,6 +42,10 @@ export const AnsweredQuestionsContainer = forwardRef((_, ref) => { onMutate: handleModify, })); + if (answersLength === 0) { + return ; + } + return (
diff --git a/packages/web-domains/src/home/features/previous-question/components/PreviousQuestion/PreviousQuestionItem.tsx b/packages/web-domains/src/home/features/previous-question/components/PreviousQuestion/PreviousQuestionItem.tsx index 47aa33ae..fbfae28b 100644 --- a/packages/web-domains/src/home/features/previous-question/components/PreviousQuestion/PreviousQuestionItem.tsx +++ b/packages/web-domains/src/home/features/previous-question/components/PreviousQuestion/PreviousQuestionItem.tsx @@ -25,7 +25,7 @@ export const PreviousQuestionItem = ({ meetingId, question }: PreviousQuestionIt listStyle: 'none', }} > - +
{ const { previousQuestionList, targetRef, meetingId } = usePreviousQuestionListService(); if (!previousQuestionList || !previousQuestionList.length) { - return ; + return ( + <> + + + + ); } return (