mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-01-20 16:30:34 +00:00
fix: add redux provider for validator install story
This commit is contained in:
parent
c92e30018e
commit
b8f5493238
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user