Closed rodrigouroz closed 4 years ago
This pull request is being automatically deployed with Vercel (learn more). To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/rodrigouroz/holidays-app/2okvp2lh0 ✅ Preview: https://holidays-app-git-implementsmulticountryquestion.rodrigouroz.vercel.app
Pending: refactor holidays API and component to show country and emoji when the answer contains holidays from multiple countries.
Refactor API to return a collection of countries, and holidays per country. Then the render component can decide if showing country names or not (only show if more than one country in the result, otherwise the title contains the country name).