Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: Unused ref #84

Open
Norbert495 opened this issue Aug 21, 2024 · 0 comments
Open

[bug]: Unused ref #84

Norbert495 opened this issue Aug 21, 2024 · 0 comments
Labels
fix This will be worked on

Comments

@Norbert495
Copy link

Describe the bug

const TagInput = React.forwardRef<HTMLInputElement, TagInputProps>((props, ref) => {
Nowhere do you use the ref in your code
const inputRef = React.useRef(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

@JaleelB JaleelB added the fix This will be worked on label Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix This will be worked on
Projects
None yet
Development

No branches or pull requests

2 participants