From 10d84f5c6922184987dd47241663e2d68bf11abe Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Thu, 24 Aug 2023 14:54:37 +0300 Subject: [PATCH] fix: add with router for Advicsories story --- .../ValidatorOnboarding/Advicsories/Advicsories.stories.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/ValidatorOnboarding/Advicsories/Advicsories.stories.ts b/src/pages/ValidatorOnboarding/Advicsories/Advicsories.stories.ts index 53870035..2f41af9e 100644 --- a/src/pages/ValidatorOnboarding/Advicsories/Advicsories.stories.ts +++ b/src/pages/ValidatorOnboarding/Advicsories/Advicsories.stories.ts @@ -1,4 +1,5 @@ import type { Meta, StoryObj } from '@storybook/react' +import { withRouter } from 'storybook-addon-react-router-v6' import Advicsories from './Advicsories' @@ -10,6 +11,7 @@ const meta = { }, tags: ['autodocs'], argTypes: {}, + decorators: [withRouter], } satisfies Meta export default meta