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

utils onSuggestionsFetchRequested raising lot of errors #2379

Open
lunika opened this issue Apr 19, 2024 · 0 comments
Open

utils onSuggestionsFetchRequested raising lot of errors #2379

lunika opened this issue Apr 19, 2024 · 0 comments
Labels

Comments

@lunika
Copy link
Member

lunika commented Apr 19, 2024

Bug Report

Problematic Behavior
The search utils onSuggestionsFetchRequested is raising lot of erros on this line

setSuggestions(
// Drop sections with no results as there's no use displaying them
sections.filter((section) => !!section!.values.length),
);

section can be undefined.

https://gip-fun-mooc.sentry.io/share/issue/1dc3db197b0f4cd2bed525918212999e/

@lunika lunika added the bug label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant