From 8593cc842d9534dbf78537111e37622cd796e564 Mon Sep 17 00:00:00 2001 From: Oliver Fritz Date: Tue, 17 Dec 2024 14:13:16 +0100 Subject: [PATCH] feat(manager-dashboard): adjust value interface --- manager-dashboard/app/components/DateRangeInput/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manager-dashboard/app/components/DateRangeInput/index.tsx b/manager-dashboard/app/components/DateRangeInput/index.tsx index f7e12f53..6442fc83 100644 --- a/manager-dashboard/app/components/DateRangeInput/index.tsx +++ b/manager-dashboard/app/components/DateRangeInput/index.tsx @@ -39,8 +39,8 @@ function sameMonth(foo: Date, bar: Date) { } export interface Value { - startDate: string; - endDate: string; + startDate?: string; + endDate?: string; } interface DateRendererProps extends CalendarDateProps {