diff --git a/app/[locale]/(protected)/contributor/agenda-setting/event-modal.tsx b/app/[locale]/(protected)/contributor/agenda-setting/event-modal.tsx index e4dffbcc..42785aa9 100644 --- a/app/[locale]/(protected)/contributor/agenda-setting/event-modal.tsx +++ b/app/[locale]/(protected)/contributor/agenda-setting/event-modal.tsx @@ -351,8 +351,8 @@ const EventModal = ({ id: detailData?.id, title: data.title, description: data.description, - agendaType: agendaTypeList.join(","), // <-- ubah array jadi string - assignedToLevel: assignedToLevelList.join(","), // <-- ubah array jadi string + agendaType: agendaTypeList.join(","), + assignedToLevel: assignedToLevelList.join(","), startDate: date?.from ? format(date.from, "yyyy-MM-dd") : null, endDate: date?.to ? format(date.to, "yyyy-MM-dd") : null, }; diff --git a/components/main/video-detail.tsx b/components/main/video-detail.tsx index 075b671a..87a16a37 100644 --- a/components/main/video-detail.tsx +++ b/components/main/video-detail.tsx @@ -469,7 +469,7 @@ const DetailVideo = () => { {/* Bagian Kiri */}
- +