Skip to content

Uncaught (in promise) TypeError: key is undefined #204

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

Open
yogeshgalav opened this issue Mar 5, 2025 · 0 comments
Open

Uncaught (in promise) TypeError: key is undefined #204

yogeshgalav opened this issue Mar 5, 2025 · 0 comments

Comments

@yogeshgalav
Copy link

When the key passed into wTrans is not available it results into following error,
Uncaught (in promise) TypeError: key is undefined
which is fine but it blocks whole page render if occurs at wrong place.
As a translation function which is used everywhere can you pass empty string please.
Error in console will be ok, no issue.

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

No branches or pull requests

1 participant