diff --git a/packages/survey-ui/src/components/general/calendar.tsx b/packages/survey-ui/src/components/general/calendar.tsx index 6ff2e7075e..341f367195 100644 --- a/packages/survey-ui/src/components/general/calendar.tsx +++ b/packages/survey-ui/src/components/general/calendar.tsx @@ -188,7 +188,6 @@ function Calendar({ ...classNames, }} components={{ - // @ts-expect-error - React types version mismatch - the project uses React 19 types, but some Radix UI packages (react-day-picker) bundle their own older React types, creating incompatible Ref type definitions Root: CalendarRoot, Chevron: CalendarChevron, DayButton: CalendarDayButton, diff --git a/packages/survey-ui/src/components/general/progress.tsx b/packages/survey-ui/src/components/general/progress.tsx index c8165e8290..8c3280057c 100644 --- a/packages/survey-ui/src/components/general/progress.tsx +++ b/packages/survey-ui/src/components/general/progress.tsx @@ -9,7 +9,6 @@ export interface ProgressProps extends Omit, "childr function Progress({ className, value, ...props }: Readonly): React.JSX.Element { const progressValue: number = typeof value === "number" ? value : 0; return ( - // @ts-expect-error - React types version mismatch - the project uses React 19 types, but some Radix UI packages (@radix-ui/react-progress) bundle their own older React types, creating incompatible Ref type definitions