Closed
Description
What bug did you find in the codebase?
The select a category arrow is sometimes shown briefly when selecting a different language.
2025-01-21.15-36-36.mp4
This is caused by the following code and an incomplete checking of the loading state causing a race condition
if (!fetchedSnippets)
return (
<div>
<LeftAngleArrowIcon />
</div>
);
This can be simply fixed by taking into consideration the snippets loading state and putting a spinner on it. I can work on solving it this way if no one opposes😄