REST countries API site made with Tailwind CSS and React JS

Solution retrospective
I am using React router in this project but after deploying with Github pages, the site is not rendering. Please have a look in the code repo and help me to troubleshoot this.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @ayushknath
I tried updating the Route path to
/rest-countries-api
and now the site is working fine. Can anyone just take a look at the code and verify if the routing is correct because I've learnt react router recently and I need some feedback to improve upon potential bad practices. The routing has been done insrc/App.jsx
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord