"Selected Pokemon" and "x. generation" are written when loading. Should only be "loading pokemon(s).
To-do's
[ ] "Selected pokemon" is probably hardwritten HTML inside the element in pokemon/index.astro. just empty the field
[ ] "x.generation" is probably showing, because it either:
Loads way faster then the API can fetch
Is hardcoded in html.
Solution could be to delay it, so it doesnt show before after the api fetch has resolved. Would look cleaner. Let the loading screen be "bare minimum".
What this issue is about:
"Selected Pokemon" and "x. generation" are written when loading. Should only be "loading pokemon(s).
To-do's
Solution could be to delay it, so it doesnt show before after the api fetch has resolved. Would look cleaner. Let the loading screen be "bare minimum".