Hydration messing up Dynamic meta tags #15034
Unanswered
Jaxenormus
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I needed to get the URL parameters I used
router.query.slug
since my file name was[...slug].js
but the page renders twice so the meta tags are undefined when I dorouter.query.slug[1]
how do I fix thisURL Parameters are there on the second load
https://cdn.discordapp.com/attachments/244238416248569857/730936406540812328/Screen_Shot_2020-07-09_at_8.00.08_PM.png
Beta Was this translation helpful? Give feedback.
All reactions