diff --git a/src/@commonsku/styles/DateRangePicker.tsx b/src/@commonsku/styles/DateRangePicker.tsx index 445dc53d..909ccaa0 100644 --- a/src/@commonsku/styles/DateRangePicker.tsx +++ b/src/@commonsku/styles/DateRangePicker.tsx @@ -75,7 +75,7 @@ export type DateRangePickerProps = Omit< initialActiveTab?: "custom" | "preset"; }; -export const checkDateYear = (date: Date | null | undefined): boolean => { +const checkDateYear = (date: Date | null | undefined): boolean => { if (!date || !isValid(date)) { return false; }