Skip to content

Commit

Permalink
chore: fix ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Jan 3, 2025
1 parent 74f5b4c commit 709d759
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/core/components/autocomplete/autocomplete.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,6 @@ const InnerAutocomplete = forwardRef(function InnerAutocomplete<
radius={radius}
ref={resultsPopoverElementRef}
referenceElement={inputElementRef.current}

Check warning on line 666 in src/core/components/autocomplete/autocomplete.tsx

View workflow job for this annotation

GitHub Actions / ESLint

Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)
// @ts-expect-error fix later
{...popover}
/>
)
Expand Down

0 comments on commit 709d759

Please sign in to comment.