diff --git a/src/components/General/Markdown/Markdown.stories.tsx b/src/components/General/Markdown/Markdown.stories.tsx index 2d3ccb2b..0372102a 100644 --- a/src/components/General/Markdown/Markdown.stories.tsx +++ b/src/components/General/Markdown/Markdown.stories.tsx @@ -1,6 +1,7 @@ import type { Meta, StoryObj } from '@storybook/react' import Markdown from './Markdown' +import { withRouter } from 'storybook-addon-react-router-v6' const meta = { title: 'General/Markdown', @@ -9,6 +10,7 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], + decorators: [withRouter()] } satisfies Meta export default meta diff --git a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/ValidatorInstall.stories.tsx b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/ValidatorInstall.stories.tsx index 94a5d2ef..389f3ec3 100644 --- a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/ValidatorInstall.stories.tsx +++ b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorInstalling/ValidatorInstall.stories.tsx @@ -1,6 +1,7 @@ import type { Meta, StoryObj } from '@storybook/react' import ValidatorSetupInstall from './ValidatorInstall' +import { withRouter } from 'storybook-addon-react-router-v6' const meta = { title: 'ValidatorOnboarding/ValidatorSetupInstall', @@ -9,7 +10,7 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - decorators: [StoryObj => ], + decorators: [StoryObj => , withRouter()], } satisfies Meta export default meta