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

Duplicate locale in page during creation #172

Open
psykzz opened this issue May 3, 2023 · 0 comments
Open

Duplicate locale in page during creation #172

psykzz opened this issue May 3, 2023 · 0 comments

Comments

@psykzz
Copy link
Contributor

psykzz commented May 3, 2023

https://github.com/microapps/gatsby-plugin-react-i18next/blob/0cb31fe4e48dd5b1771efaf24c85ece5540aa084/src/plugin/onCreatePage.ts#L98C7-L110

Locale is being set twice when it creates new pages, leading to /en-us/en-us/page (and more).

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