react-play
react-play copied to clipboard
🐛 [Bug report]: Handling the error on Emojipedia play
Descrcibe the bug?
Whenever the api is not able to fetch the emojis data the page is breaking.

Steps to reproduce the bug?
- Clone reactplay locally
- Set the env variables
- And then when you run the app using npm start, the page of emojiPedia breaks
- To run it in your local set api key with your own access_key from https://emoji-api.com/ in your .env file
- But while you try to push it for a preview in vercel the page breaks again
Expected behavior
There should be an error handling message and a button which would navigate you back to Reactplay if the api breaks.
Desktop (Please provide your system information)
Desktop: Windows Browser: Chrome, firefox
Mobile (Please provide your device information)
No response
Screenshot / Screenshare
No response
Relevant log output
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct