diff --git a/frontend/app/components/shared/SelectDateRange/SelectDateRange.tsx b/frontend/app/components/shared/SelectDateRange/SelectDateRange.tsx index 065a99a87..ebdbcf5c2 100644 --- a/frontend/app/components/shared/SelectDateRange/SelectDateRange.tsx +++ b/frontend/app/components/shared/SelectDateRange/SelectDateRange.tsx @@ -64,12 +64,13 @@ function SelectDateRange(props: Props) { label: opt.label, key: opt.value, })), - defaultSelectedKeys: selectedValue?.value ? [selectedValue.value] : undefined, + selectedKeys: selectedValue?.value ? [selectedValue.value] : undefined, onClick: (e: any) => { onChange(e.key); }, }; + return (