emblor icon indicating copy to clipboard operation
emblor copied to clipboard

[bug]: Unused ref

Open Norbert495 opened this issue 6 months ago • 0 comments

Describe the bug

const TagInput = React.forwardRef<HTMLInputElement, TagInputProps>((props, ref) => { Nowhere do you use the ref in your code const inputRef = React.useRef<HTMLInputElement>(null); Here you could use the references from the props

How to reproduce

from the description

Link to reproduction

https://github.com/JaleelB/emblor/blob/main/packages/emblor/src/tag/tag-input.tsx

Additional information

No response

Norbert495 avatar Aug 21 '24 18:08 Norbert495