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

queryNoWitheSpace typo to fix #92

Closed
bajancode opened this issue Jul 2, 2021 · 1 comment
Closed

queryNoWitheSpace typo to fix #92

bajancode opened this issue Jul 2, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@bajancode
Copy link

bajancode commented Jul 2, 2021

Describe the bug
Typo in
const queryNoWhite = queryNoWitheSpace(query)
should be
const queryNoWhite = queryNoWhiteSpace(query):
This appears 3 times in pages/search.tsx and once in elliotforwater.com/helpers/_utils.tsx / Not sure if used anywhere else in the code.

To Reproduce
Just in the code, nothing to reproduce.

Expected behavior
for queryNoWitheSpace to be spelled queryNoWhiteSpace

Additional context
Not really a bug but not sure how to add the other labels. Just a small fix to improve code readability and cleanliness. This would be a good first issue (I might be able to do it myself at some point if no one else grabs it)

@bajancode bajancode added the bug Something isn't working label Jul 2, 2021
@gsambrotta
Copy link
Collaborator

Hey thank you @bajancode for find this out!
Feel free to open a PR and fix it, if you feel to :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants