We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We set up storybook with these instructions: https://storybook.js.org/blog/get-started-with-storybook-and-next-js/
In these versions we set router parameters with:
const parameters = { nextjs: { router: { route: '/my-route', path: '/my-route', asPath: '/my-route', locale: 'en-GB', }, }, } const getStory = (handler: FooHandler): Story => { return { parameters, ...
We get Error: NextRouter was not mounted
Error: NextRouter was not mounted
router.js:121
The text was updated successfully, but these errors were encountered:
Any ideas on how to resolve this?
Sorry, something went wrong.
No branches or pull requests
We set up storybook with these instructions: https://storybook.js.org/blog/get-started-with-storybook-and-next-js/
In these versions we set router parameters with:
We get
Error: NextRouter was not mounted
router.js:121
The text was updated successfully, but these errors were encountered: