million
million copied to clipboard
bug: Documentation search bar doesn't work
Describe the bug Trying to search something in the million documentation causes an endless spinner
To Reproduce Steps to reproduce the behavior:
- Go to 'https://millionjs.org/'
- Click on the search bar
- Type in the search bar, notice the endless spinner
- console has this error: "Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0"
- Hit enter key, still has endless spinner
- an additional console error bubbles up: "Uncaught TypeError: Cannot read properties of undefined (reading 'route')"
Expected behavior I'd expect the search function to work
Screenshots

Device (please complete the following information):
- OS: iOS (Big Sur v11.6)
- Browser: Chrome v103
- Version: latest million release
Hey, @ryanjmack I would like to work on this issue if no one else is working on it. Thanks!
Hey @noobyogi0010, any update on this? Do you need any help with this issue so far?
Hey @aidenybai I am still working on this issue. Sorry, I didn't get much time to focus on it completely. Will try to wrap it up by end of this week. Thanks!
No worries, take your time. If you need any help, feel free to comment any questions here or in the Discord :)
@aidenybai I am not able to reproduce this issue. Neither on my local system nor on the million's documentation.
@noobyogi0010, same here, I'm not getting that issue on Brave or Chrome.
@ryanjmack, could you test this issue again? Possibly a recent commit to docs fixed this issue
@aidenybai the issue seems to be resolved, so I'm closing it!