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

Empty search bar unexpected behavior #36

Open
NourWaell opened this issue Mar 17, 2024 · 1 comment
Open

Empty search bar unexpected behavior #36

NourWaell opened this issue Mar 17, 2024 · 1 comment

Comments

@NourWaell
Copy link

Whenever i empty the search bar, the second i remove the last character in the input it throws an error:

Unhandled Runtime Error
TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))

@sexfrance
Copy link

It is an easy fix, you are not using the right version of cmdk. Try doing

npm i [email protected]

It will download the ^0.2.1 which works perfectly fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants