fix: add with router to Activation story

This commit is contained in:
RadoslavDimchev 2023-08-30 10:16:56 +03:00
parent 54a351a6c8
commit 6a27c816f1
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
import type { Meta, StoryObj } from '@storybook/react' import type { Meta, StoryObj } from '@storybook/react'
import Activation from './Activation' import Activation from './Activation'
import { withRouter } from 'storybook-addon-react-router-v6'
const meta = { const meta = {
title: 'ValidatorOnboarding/Activation', title: 'ValidatorOnboarding/Activation',
@ -10,6 +11,7 @@ const meta = {
}, },
tags: ['autodocs'], tags: ['autodocs'],
argTypes: {}, argTypes: {},
decorators: [withRouter()],
} satisfies Meta<typeof Activation> } satisfies Meta<typeof Activation>
export default meta export default meta