Replies: 1 comment
-
I'll move this to a discussion since this is a usage question. See also the previous discussions here: |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I got this error when I tried to run my component that use

next-intl
in storybook.First, I got this error
After that I found this solution to set a decorator in

preview.tsx
file in.storybook
folder.https://next-intl-docs.vercel.app/docs/faq#can-next-intl-be-used-with-jest-and-storybook
Then I got a new error like this image
Version
storybook: "^7.6.12"
next-intl: "^3.5.4"
Mandatory reproduction URL (CodeSandbox or GitHub repository)
Reproduction description
Steps to reproduce:
Expected behaviour
next-intl
should support storybook.Beta Was this translation helpful? Give feedback.
All reactions