Skip to content

How do I use this together with slices? #228

@emilkarl

Description

@emilkarl

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions