diff --git a/.storybook/preview.js b/.storybook/preview.js index ad667f1..f30b140 100644 --- a/.storybook/preview.js +++ b/.storybook/preview.js @@ -1,5 +1,5 @@ import { addParameters } from '@storybook/react'; -import { RouterContext } from 'next/dist/shared/lib/router-context'; +import { RouterContext } from "next/dist/shared/lib/router-context.shared-runtime"; import { rest } from 'msw'; import { mswDecorator } from 'msw-storybook-addon'; diff --git a/packages/gene-tools/src/generators/storybook-init/files/preview.js__tmpl__ b/packages/gene-tools/src/generators/storybook-init/files/preview.js__tmpl__ index ad667f1..f30b140 100644 --- a/packages/gene-tools/src/generators/storybook-init/files/preview.js__tmpl__ +++ b/packages/gene-tools/src/generators/storybook-init/files/preview.js__tmpl__ @@ -1,5 +1,5 @@ import { addParameters } from '@storybook/react'; -import { RouterContext } from 'next/dist/shared/lib/router-context'; +import { RouterContext } from "next/dist/shared/lib/router-context.shared-runtime"; import { rest } from 'msw'; import { mswDecorator } from 'msw-storybook-addon';