Search for components: Searching with a text that doesn't match any results breaks the site
umaranis opened this issue · 1 comments
umaranis commented
Steps to reproduce:
- Go to https://sveltesociety.dev/components/
- In the 'Search for components...' field, type a text that doesn't match any results (e.g. 'hello')
- The site stops working at this point
- the filtration of components stops working
- links to other pages like Tools stop working
- following error is reported in the console logs
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length') at Object.p (sort-582dd570.js:3:2453) at Sl (vendor-d78fc752.js:4:1769) at Hn (vendor-d78fc752.js:4:1438)
mrienstra commented
Same problem here: https://sveltesociety.dev/tools/
Preparing a fix.