clear wrong use of redux

This commit is contained in:
Hristo Nedelkov 2023-09-05 10:26:29 +03:00
parent 4a50a2a4d6
commit 00eb6f89ab
1 changed files with 2 additions and 9 deletions

View File

@ -1,18 +1,11 @@
import type { Meta, StoryObj } from '@storybook/react'
import { Provider as ReduxProvider } from 'react-redux'
import store from '../../redux/store'
import DeviceHealthCheck from './DeviceHealthCheck'
const meta: Meta = {
title: 'Pages/DeviceHealthCheck',
component: DeviceHealthCheck,
decorators: [
StoryObj => (
<ReduxProvider store={store}>
<StoryObj />
</ReduxProvider>
),
],
decorators: [],
tags: ['autodocs'],
}