mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-13 03:46:39 +00:00
Clear wrong use of redux
This commit is contained in:
parent
660f388c6b
commit
8f1c412c41
@ -1,8 +1,6 @@
|
||||
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',
|
||||
@ -11,13 +9,7 @@ const meta = {
|
||||
layout: 'centered',
|
||||
},
|
||||
tags: ['autodocs'],
|
||||
decorators: [
|
||||
StoryObj => (
|
||||
<ReduxProvider store={store}>
|
||||
<StoryObj />
|
||||
</ReduxProvider>
|
||||
),
|
||||
],
|
||||
decorators: [StoryObj => <StoryObj />],
|
||||
} satisfies Meta<typeof ValidatorSetupInstall>
|
||||
|
||||
export default meta
|
||||
|
Loading…
x
Reference in New Issue
Block a user