diff --git a/packages/web-domains/src/home/features/progressing-question/containers/ProgressingQuestionContainer.tsx b/packages/web-domains/src/home/features/progressing-question/containers/ProgressingQuestionContainer.tsx
index 999f9d15..86cb1e5c 100644
--- a/packages/web-domains/src/home/features/progressing-question/containers/ProgressingQuestionContainer.tsx
+++ b/packages/web-domains/src/home/features/progressing-question/containers/ProgressingQuestionContainer.tsx
@@ -20,6 +20,7 @@ export const ProgressingQuestionContainer = () => {
gatherName,
progressingQuestion,
meetingId,
+ isOnlyOne,
} = useProgressingQuestionService();
return (
@@ -46,6 +47,7 @@ export const ProgressingQuestionContainer = () => {
)
}
diff --git a/packages/web-domains/src/home/features/progressing-question/services/useProgressingQuestionService.tsx b/packages/web-domains/src/home/features/progressing-question/services/useProgressingQuestionService.tsx
index 751e6eed..a4aaa446 100644
--- a/packages/web-domains/src/home/features/progressing-question/services/useProgressingQuestionService.tsx
+++ b/packages/web-domains/src/home/features/progressing-question/services/useProgressingQuestionService.tsx
@@ -2,6 +2,7 @@ import dayjs from 'dayjs';
import { useSetAtom } from 'jotai';
import { useEffect, useState } from 'react';
+import { useGetGatherMemberList } from '@/home/common/apis/queries/useGetGatherMemberList';
import { useGetMyInfo } from '@/home/common/apis/queries/useGetMyInfo';
import { HomeAtoms } from '@/home/common/atoms/home.atom';
import { useSetCurrentMeeting } from '@/home/common/hooks/useSetCurrentMeeting';
@@ -22,6 +23,13 @@ export const useProgressingQuestionService = () => {
options: { enabled: !!meetingId },
});
+ const { data: memberList } = useGetGatherMemberList({
+ params: { meetingId: meetingId! },
+ options: {
+ enabled: !!meetingId,
+ },
+ });
+
const { data: progressingQuestion } = useGetProgressingQuestion({
params: { meetingId: meetingId! },
options: {
@@ -67,7 +75,10 @@ export const useProgressingQuestionService = () => {
}
}, [progressingQuestion, myInfo]);
+ const isOnlyOne = !!memberList && memberList.contents.length < 2;
+
return {
+ isOnlyOne,
meetingInfo,
isOpen,
meetingId,