@anastasiiaal
Posted
Hello there! 👋 I love how you redesigned the initial project, especially your feature with a tiny flag near the border country, really well done!! 🔥 On the other hand, there seems to be some issue with the countries that do not have neighbours: check out Barbados, e.g. You should probably add some condition before your render. Otherwise, great job!
Marked as helpful
@hesam-fattahi
Posted
@anastasiiaal
Hi! 👋 I hope you're doing fine.
At first I thought the countries that don't have borders, the borders array length is set to 0. But then I realized that there's no borders property in the object. I've updated the code and now they don't have the border countries item in details page.
Thank you for your comment! 🙏