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

fixed searchString tokensLength error #828

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Vvanlaar
Copy link

No description provided.

Copy link

vercel bot commented Oct 18, 2024

@Vvanlaar is attempting to deploy a commit to the OramaSearch Team on Vercel.

A member of the Team first needs to authorize it.

@allevo
Copy link
Collaborator

allevo commented Oct 18, 2024

Hi!
Thank you for your contribution.
Could you explain better which error you have?

@Vvanlaar
Copy link
Author

I'm getting this error:
Cannot read properties of undefined (reading 'tokensLength')
I think it should read stats from prop since the function parameter is only the prop object with a stats property.

@allevo
Copy link
Collaborator

allevo commented Oct 18, 2024

Can you write a code example that generates the error?

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

Successfully merging this pull request may close these issues.

2 participants