diff --git a/src/app/components/ProgressBar/ProgressBar.tsx b/src/app/components/ProgressBar/ProgressBar.tsx index 3337c382..aa9b75c5 100644 --- a/src/app/components/ProgressBar/ProgressBar.tsx +++ b/src/app/components/ProgressBar/ProgressBar.tsx @@ -12,17 +12,19 @@ import { IconArrow, IconCheckCircle, IconPerson } from '@/public/icons'; interface ProgressBarProps { participantNumber: number; + capacity: number; hasParticipantNumber: boolean; hasOpeningConfirmed: boolean; } const ProgressBar = ({ participantNumber, + capacity, hasParticipantNumber, hasOpeningConfirmed, }: ProgressBarProps) => { const isOpeningConfirmed = participantNumber >= 5; // 개설 확정 여부 (boolean) - const isClosedGathering = participantNumber === 20; // 참여 인원이 20명인 경우 (boolean) + const isClosedGathering = participantNumber === capacity; // 참여 인원이 다 찬 경우 (boolean) return (
@@ -50,7 +52,7 @@ const ProgressBar = ({