From 4a851108ca17ac953ec5d5db1c432e9794b0e493 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Tue, 22 Aug 2023 13:12:23 +0300 Subject: [PATCH] fix: landing page story --- src/pages/LandingPage/LandingPage.stories.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/LandingPage/LandingPage.stories.ts b/src/pages/LandingPage/LandingPage.stories.ts index 8ba9e266..cd135e43 100644 --- a/src/pages/LandingPage/LandingPage.stories.ts +++ b/src/pages/LandingPage/LandingPage.stories.ts @@ -1,4 +1,5 @@ import type { Meta, StoryObj } from '@storybook/react' +import { withRouter } from 'storybook-addon-react-router-v6' import LandingPage from './LandingPage' @@ -10,6 +11,7 @@ const meta = { }, tags: ['autodocs'], argTypes: {}, + decorators: [withRouter], } satisfies Meta export default meta