Skip to content

Commit 3e1629a

Browse files
authored
chore: compare values in DateTargetSelector (#23916)
1 parent f1ac064 commit 3e1629a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/features/insights/filters/DateTargetSelector.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export const DateTargetSelector = ({ value, onChange }: DateTargetSelectorProps)
6565
<div className="font-medium">{option.label}</div>
6666
<div className="text-muted-foreground text-sm">{option.description}</div>
6767
</div>
68-
{selectedOption.label === option.label && (
68+
{selectedOption.value === option.value && (
6969
<Icon name="check" className="text-primary-foreground h-4 w-4" />
7070
)}
7171
</CommandItem>

0 commit comments

Comments
 (0)