diff --git a/web/features/agent-v2/agent-detail/monitoring/time-range-picker.tsx b/web/features/agent-v2/agent-detail/monitoring/time-range-picker.tsx index 12fe68176ce..8b4c5c209d1 100644 --- a/web/features/agent-v2/agent-detail/monitoring/time-range-picker.tsx +++ b/web/features/agent-v2/agent-detail/monitoring/time-range-picker.tsx @@ -155,7 +155,7 @@ export function AgentMonitoringTimeRangePicker({ const selectedOption = timeRangeOptions.find((option) => option.value === selectedRange) - const handleRangeChange = (nextValue: string | null) => { + const handleRangeChange = (nextValue: TimeRangeKey | null) => { if (!nextValue) return const option = timeRangeOptions.find((item) => item.value === nextValue) @@ -196,37 +196,25 @@ export function AgentMonitoringTimeRangePicker({ return (
-