Skip to content

Commit 98b0bf0

Browse files
fix(calendar-web): specify generic types for DnDCalendar component
1 parent 06da586 commit 98b0bf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/pluggableWidgets/calendar-web/src/utils/calendar-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const localizer = dateFnsLocalizer({
2525
locales: {}
2626
});
2727

28-
export const DnDCalendar = withDragAndDrop(Calendar);
28+
export const DnDCalendar = withDragAndDrop(Calendar<CalEvent, object>);
2929

3030
function getViewRange(view: string, date: Date): { start: Date; end: Date } {
3131
switch (view) {

0 commit comments

Comments
 (0)