fix: Fix storybook of device sync page

This commit is contained in:
Hristo Nedelkov 2023-08-18 15:15:40 +03:00
parent 65ee87e999
commit 68770357fb

View File

@ -1,4 +1,6 @@
import type { Meta, StoryObj } from '@storybook/react'
import { Provider as ReduxProvider } from 'react-redux'
import store from '../../redux/store' // Adjust` the path to your store accordingly
import DeviceSyncStatus from './DeviceSyncStatus'
@ -11,9 +13,11 @@ const meta = {
tags: ['autodocs'],
decorators: [
Story => (
<ReduxProvider store={store}>
<div style={{ height: '100%', width: '100%' }}>
<Story />
</div>
</ReduxProvider>
),
],
} satisfies Meta<typeof DeviceSyncStatus>