Skip to content
Discussion options

You must be logged in to vote

https://www.gatsbyjs.com/docs/reference/config-files/gatsby-browser/#wrapPageElement

Note: There is an equivalent hook in Gatsby’s SSR API. It is recommended to use both APIs together. For example usage, check out Using i18n.

Adding the same code from gatsby-browser.js to gatsby-ssr.js should fix your issue

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JogiPrasadPakki
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #30859 on April 14, 2021 07:42.