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

On navigate() show child route shows 404 not found #95

Closed
sanju-developer opened this issue Oct 27, 2020 · 3 comments
Closed

On navigate() show child route shows 404 not found #95

sanju-developer opened this issue Oct 27, 2020 · 3 comments

Comments

@sanju-developer
Copy link

Hello I have one issue, Please help

I have used this "gatsby-plugin-react-i18next" for language translation.

My project contains One parent route /home and have one child route /home/detail/:id. In order to go to the child route I have used navigate(/home/detail/${post.id}/}) this from import { useI18next } from "gatsby-plugin-react-i18next" but on child route it says "Page Not Found"

To check code you can find here https://github.com/sanju-developer/Gatsby-demo-with-materialUI/tree/lang-trans in lang-trans branch.

Thanks in advance :)

@adrai
Copy link
Member

adrai commented Oct 27, 2020

Please ask directly in repo: https://github.com/microapps/gatsby-plugin-react-i18next

@adrai adrai closed this as completed Oct 27, 2020
@sanju-developer
Copy link
Author

BTW, @adrai , Do you have any idea why this is happening? 🤔

@adrai
Copy link
Member

adrai commented Oct 27, 2020

Sorry never used gatsby 🤷‍♂️

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