react-play icon indicating copy to clipboard operation
react-play copied to clipboard

🐛 [Bug report]: Handling the error on Emojipedia play

Open nishasen opened this issue 3 years ago • 0 comments

Descrcibe the bug?

Whenever the api is not able to fetch the emojis data the page is breaking. image

Steps to reproduce the bug?

  1. Clone reactplay locally
  2. Set the env variables
  3. And then when you run the app using npm start, the page of emojiPedia breaks
  4. To run it in your local set api key with your own access_key from https://emoji-api.com/ in your .env file
  5. 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

nishasen avatar Oct 18 '22 07:10 nishasen