From a82758df5b0d2aedc2be8b9c83f4948326cde839 Mon Sep 17 00:00:00 2001 From: vladimirpotekhin Date: Wed, 19 Oct 2022 14:12:24 +0400 Subject: [PATCH] chore: fix comment --- .../primitive-calendar/primitive-calendar.component.ts | 4 ---- .../primitive-calendar/primitive-calendar.template.html | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) 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 }}