From 04513a7630abc675f829f3b8c75ecd6672b5fbc2 Mon Sep 17 00:00:00 2001 From: tewarig Date: Wed, 15 Jan 2025 16:47:55 +0530 Subject: [PATCH] fix: date picker on level change typo --- packages/blade/src/components/DatePicker/CalendarHeader.web.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/blade/src/components/DatePicker/CalendarHeader.web.tsx b/packages/blade/src/components/DatePicker/CalendarHeader.web.tsx index 7a797e9a276..3bcd2912c38 100644 --- a/packages/blade/src/components/DatePicker/CalendarHeader.web.tsx +++ b/packages/blade/src/components/DatePicker/CalendarHeader.web.tsx @@ -169,7 +169,7 @@ const CalendarHeader = ({ {pickerType === 'day' && ( onLevelChange('month')} + onClick={() => onLevelChange('year')} showLevelChangeLink={showLevelChangeLink} accessibilityLabel="Change month" text={`${month} ${year}`}