Added an indicator that displays when there are no Wikipedia results available for the user location:
This inidicator is a general-purpose error indicator, so it can be used in other places of the app with different text. This closes #28.
Refactored the getWikipediaResults utility function to use async-await instead of chaining .then calls. This improves the readability and safety of the code, in my opinion.
This inidicator is a general-purpose error indicator, so it can be used in other places of the app with different text. This closes #28.
getWikipediaResults
utility function to useasync-await
instead of chaining.then
calls. This improves the readability and safety of the code, in my opinion.