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

How to use Next-translate-routes with Typescript #8

Closed
wangwailok opened this issue Dec 16, 2021 · 3 comments
Closed

How to use Next-translate-routes with Typescript #8

wangwailok opened this issue Dec 16, 2021 · 3 comments

Comments

@wangwailok
Copy link

Screenshot 2021-12-16 at 4 38 03 PM

I have followed the sample on npm but the withTranslateRoutes function requires parameter of type 'ComponentType',
can anyone help?

@cvolant
Copy link
Collaborator

cvolant commented Dec 22, 2021

Thanks for the report. It should be fixed in the next release.

@wangwailok
Copy link
Author

Thank you very much!

@cvolant
Copy link
Collaborator

cvolant commented Jan 5, 2022

It should be fixed now. Please reopen this issue if you still have the problem from v1.7.0.

@cvolant cvolant closed this as completed Jan 5, 2022
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

2 participants