We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug withNamespace([])(Component).WrappedComponent is undefined.
withNamespace([])(Component).WrappedComponent
It seems also all other statics are not present (using Object.keys() on the result).
Object.keys()
Occurs in react-i18next version v9.0.2
To Reproduce
Expected behaviour When I read the decorator code there is this code :
LoadNamespaceWithContext.WrappedComponent = WrappedComponent; LoadNamespaceWithContext.displayName = `LoadNamespace(${getDisplayName(WrappedComponent)})`; LoadNamespaceWithContext.namespaces = namespaceArg;
So the WrappedComponent was intended to be accesible but is not.
Screenshots N/A
OS (please complete the following information): N/A
Additional context N/A
The text was updated successfully, but these errors were encountered:
strange this tests don't fail https://github.com/i18next/react-i18next/blob/master/test/withNamespaces.spec.js#L12 which actually assert this
Sorry, something went wrong.
closing for now...feel free to reopen...for now i guess it's a local problem
No branches or pull requests
Describe the bug
withNamespace([])(Component).WrappedComponent
is undefined.It seems also all other statics are not present (using
Object.keys()
on the result).Occurs in react-i18next version
v9.0.2
To Reproduce
Expected behaviour
When I read the decorator code there is this code :
So the WrappedComponent was intended to be accesible but is not.
Screenshots
N/A
OS (please complete the following information):
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: