diff --git a/frontend/src/components/EventView.tsx b/frontend/src/components/EventView.tsx index c6c17b4..bdace12 100644 --- a/frontend/src/components/EventView.tsx +++ b/frontend/src/components/EventView.tsx @@ -35,6 +35,7 @@ interface Event { slug: string; needed_items?: string[] | string; wallpaper?: string; + rsvp_cutoff_date?: string; } const EventView: React.FC = () => { @@ -176,6 +177,11 @@ const EventView: React.FC = () => { Date: {new Date(event.date).toLocaleString()} + {event.rsvp_cutoff_date && ( + + RSVP cut-off date: {new Date(event.rsvp_cutoff_date).toLocaleString()} + + )}