Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: handled axios errors using catch block and added key inside map function #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

manipandit
Copy link

What does this PR do?
Handled axios errors by chaining catch block. Fixed a few smaller issues like replacing class by className.
There wasn't any key attribute inside the map function, used array indexes as keys. This ensures that the application is fast.

Fixes #5

@vercel
Copy link

vercel bot commented Oct 5, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
translate-lingo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 5, 2023 8:39am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 Bug Report: API calls not handled for errors
1 participant