gatsby-plugin-intl
gatsby-plugin-intl copied to clipboard
How do I use this together with slices?
Trying to make this work when having header and footer as slices with a set locale in the slice context. Works ok in dev mode but can’t build due to this error:
My guess is I can’t use useIntl()
hook in the slice and need to do something else. Not sure what tho? Anybody have a good solution to the problem?
Hi did you find a solution to this? I'm having the same issue