Fix review comments

Signed-off-by: AmbrishRamachandiran <ambrish.r@infosys.com>
This commit is contained in:
AmbrishRamachandiran
2026-03-05 12:06:08 +05:30
committed by root
parent 400175a09d
commit a5c4e902ed
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -88,7 +88,6 @@ export const components: Page[] = [
{
title: 'RangeSlider',
slug: 'range-slider',
status: 'new',
},
{
title: 'SearchField',
@@ -38,8 +38,8 @@ export const RangeSlider = forwardRef<HTMLDivElement, RangeSliderProps>(
'aria-labelledby': ariaLabelledBy,
} = props;
// Extract isRequired early since it's inherited from AriaSliderProps
const isRequired = 'isRequired' in props ? props.isRequired : undefined;
// Extract isRequired from props (inherited from AriaSliderProps)
const isRequired = (props as any).isRequired;
useEffect(() => {
if (!label && !ariaLabel && !ariaLabelledBy) {