API Shortening React App

Solution retrospective
Hi,
Project built in React with CRA, Tailwind CSS, Jest and React Testing Library.
I've added a window alert in case the API call fails and I've been trying to test this but I haven't been able to figure this out, any suggestions are welcome.
Thanks
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Cristina's solution.
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