refactor(stories) fix Device Health Check stories
This commit is contained in:
parent
cd04293abb
commit
69c4f23e38
|
@ -1,11 +1,12 @@
|
||||||
import type { Meta, StoryObj } from '@storybook/react'
|
import type { Meta, StoryObj } from '@storybook/react'
|
||||||
|
|
||||||
import DeviceHealthCheck from './DeviceHealthCheck'
|
import DeviceHealthCheck from './DeviceHealthCheck'
|
||||||
|
import { withRouter } from 'storybook-addon-react-router-v6'
|
||||||
|
|
||||||
const meta: Meta = {
|
const meta: Meta = {
|
||||||
title: 'Pages/DeviceHealthCheck',
|
title: 'Pages/DeviceHealthCheck',
|
||||||
component: DeviceHealthCheck,
|
component: DeviceHealthCheck,
|
||||||
decorators: [],
|
decorators: [withRouter],
|
||||||
tags: ['autodocs'],
|
tags: ['autodocs'],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue