fix: add redux provider for validator install story

This commit is contained in:
RadoslavDimchev 2023-09-01 10:05:42 +03:00
parent c92e30018e
commit b8f5493238

View File

@ -1,6 +1,8 @@
import type { Meta, StoryObj } from '@storybook/react'
import { Provider as ReduxProvider } from 'react-redux'
import ValidatorSetupInstall from './ValidatorInstall'
import store from '../../../redux/store'
const meta = {
title: 'ValidatorOnboarding/ValidatorSetupInstall',
@ -9,6 +11,13 @@ const meta = {
layout: 'centered',
},
tags: ['autodocs'],
decorators: [
StoryObj => (
<ReduxProvider store={store}>
<StoryObj />
</ReduxProvider>
),
],
} satisfies Meta<typeof ValidatorSetupInstall>
export default meta