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

How do I use this together with slices? #228

Open
emilkarl opened this issue May 25, 2023 · 1 comment
Open

How do I use this together with slices? #228

emilkarl opened this issue May 25, 2023 · 1 comment

Comments

@emilkarl
Copy link
Contributor

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:

image

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?

@j-mcgregor
Copy link

Hi did you find a solution to this? I'm having the same issue

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