From bfb3557508220593049e320c2e9e4234a277036a Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Mon, 23 Dec 2024 14:59:56 +0100 Subject: [PATCH] ui: fix custom comparison period --- .../app/components/shared/SelectDateRange/SelectDateRange.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/components/shared/SelectDateRange/SelectDateRange.tsx b/frontend/app/components/shared/SelectDateRange/SelectDateRange.tsx index 92168e437..cb42f510e 100644 --- a/frontend/app/components/shared/SelectDateRange/SelectDateRange.tsx +++ b/frontend/app/components/shared/SelectDateRange/SelectDateRange.tsx @@ -208,7 +208,7 @@ function AndDateRange({ isTileDisabled, }: Props) { const menuProps = { - items: options.map((opt) => ({ + items: options.map((opt: any) => ({ label: opt.label, key: opt.value, })),