diff --git a/projects/core/components/primitive-calendar/primitive-calendar.component.ts b/projects/core/components/primitive-calendar/primitive-calendar.component.ts index d56b98166906..7f6d9e584a43 100644 --- a/projects/core/components/primitive-calendar/primitive-calendar.component.ts +++ b/projects/core/components/primitive-calendar/primitive-calendar.component.ts @@ -110,10 +110,6 @@ export class TuiPrimitiveCalendarComponent { return null; } - getDataType(item: TuiDay, handler: TuiHandler): string { - return handler(item); - } - getItemRange(item: TuiDay): TuiRangeState | null { const {value, hoveredItem} = this; diff --git a/projects/core/components/primitive-calendar/primitive-calendar.template.html b/projects/core/components/primitive-calendar/primitive-calendar.template.html index 6102c8a73595..005bb058843f 100644 --- a/projects/core/components/primitive-calendar/primitive-calendar.template.html +++ b/projects/core/components/primitive-calendar/primitive-calendar.template.html @@ -28,7 +28,7 @@
{{ item.day }}