diff --git a/packages/react/src/components/form/Combobox/Combobox.tsx b/packages/react/src/components/form/Combobox/Combobox.tsx index eac27dde28..c790cec1d6 100644 --- a/packages/react/src/components/form/Combobox/Combobox.tsx +++ b/packages/react/src/components/form/Combobox/Combobox.tsx @@ -1,7 +1,7 @@ import { FloatingFocusManager, FloatingPortal } from '@floating-ui/react'; import { useVirtualizer } from '@tanstack/react-virtual'; import cl from 'clsx/lite'; -import { forwardRef, useEffect, useId, useRef, useState } from 'react'; +import { forwardRef, useEffect, useRef, useState } from 'react'; import type { InputHTMLAttributes, ReactNode } from 'react'; import type { PortalProps } from '../../../types/Portal'; @@ -156,8 +156,6 @@ export const ComboboxComponent = forwardRef( const portalRef = useRef(null); const listRef = useRef>([]); - const listId = useId(); - const [inputValue, setInputValue] = useState(rest.inputValue || ''); useEffect(() => { @@ -396,7 +394,7 @@ export const ComboboxComponent = forwardRef( ( visuallyHiddenDismiss >