Skip to content

Commit 14978a9

Browse files
authored
fix: change initialEvents to events prop in FullCalendar component (#61)
1 parent e1b284c commit 14978a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

streamlit_calendar/frontend/src/components/Calendar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ const CalendarFC: React.FC<Props> = ({
182182
<FullCalendar
183183
ref={calendarRef}
184184
plugins={ENABLED_PLUGINS}
185-
initialEvents={events}
185+
events={events}
186186
schedulerLicenseKey={license_key}
187187
dateClick={
188188
callbacks?.includes("dateClick") ? handleDateClick : undefined

0 commit comments

Comments
 (0)