Skip to content

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

@yogeshgalav

Description

@yogeshgalav

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions