diff --git a/packages/react/src/components/DatePicker/DatePicker.tsx b/packages/react/src/components/DatePicker/DatePicker.tsx index 92f6047d22f6..9e44e0bf750b 100644 --- a/packages/react/src/components/DatePicker/DatePicker.tsx +++ b/packages/react/src/components/DatePicker/DatePicker.tsx @@ -468,7 +468,7 @@ const DatePicker = React.forwardRef(function DatePicker( const savedOnClose = useSavedCallback( datePickerType === 'range' ? onCalendarClose : onClose ); - const savedOnOpen = useSavedCallback(() => onOpen); + const savedOnOpen = useSavedCallback(onOpen); const datePickerClasses = cx(`${prefix}--date-picker`, { [`${prefix}--date-picker--short`]: short,