diff --git a/apps/web/src/components/organisms/EventStatus/index.tsx b/apps/web/src/components/organisms/EventStatus/index.tsx index 8cd3398..1b16562 100644 --- a/apps/web/src/components/organisms/EventStatus/index.tsx +++ b/apps/web/src/components/organisms/EventStatus/index.tsx @@ -63,9 +63,11 @@ function EventStatus({ eventStatus }: Props) { ); } - return ( - - ); + if (status === 'ACTIVE') { + return ( + + ); + } } export default EventStatus; diff --git a/apps/web/src/lib/assets/data/event_status.json b/apps/web/src/lib/assets/data/event_status.json index c8b899f..fb166c3 100644 --- a/apps/web/src/lib/assets/data/event_status.json +++ b/apps/web/src/lib/assets/data/event_status.json @@ -1,5 +1,5 @@ { - "status": "ONGOING", + "status": "ACTIVE", "applicationStartDateTime": "2024/11/18 00:00:00", "applicationEndDateTime": "2024/12/15 23:59:59", "applicantAcceptanceDateTime": "2024/12/26 23:59:59" diff --git a/packages/core/src/@types/event.ts b/packages/core/src/@types/event.ts index e8342c3..a64634a 100644 --- a/packages/core/src/@types/event.ts +++ b/packages/core/src/@types/event.ts @@ -1,4 +1,4 @@ -export type EventStatusType = 'UPCOMING' | 'ONGOING' | 'INACTIVE' | 'HOT'; +export type EventStatusType = 'UPCOMING' | 'ONGOING' | 'ACTIVE' | 'INACTIVE' | 'HOT'; export interface EventStatus { status: EventStatusType;