diff --git a/src/pages/ValidatorOnboarding/ValidatorOnboarding.stories.ts b/src/pages/ValidatorOnboarding/ValidatorOnboarding.stories.ts index 402211c1..c22304db 100644 --- a/src/pages/ValidatorOnboarding/ValidatorOnboarding.stories.ts +++ b/src/pages/ValidatorOnboarding/ValidatorOnboarding.stories.ts @@ -2,7 +2,16 @@ import type { Meta, StoryObj } from '@storybook/react' import { withRouter } from 'storybook-addon-react-router-v6' import ValidatorOnboarding from './ValidatorOnboarding' +import { Provider as ReduxProvider } from 'react-redux' +import store from '../../redux/store' +const withRedux = (StoryComponent: any) => { + return ( + + + + ); +} const meta = { title: 'Pages/ValidatorOnboarding', component: ValidatorOnboarding, @@ -10,7 +19,7 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], - decorators: [withRouter()], + decorators: [withRouter(), withRedux], } satisfies Meta export default meta