fix(device-health-check-story): add router decorator
This commit is contained in:
parent
47b5d54ae9
commit
91cda02341
|
@ -1,11 +1,12 @@
|
|||
import type { Meta, StoryObj } from '@storybook/react'
|
||||
import { withRouter } from 'storybook-addon-react-router-v6'
|
||||
|
||||
import DeviceHealthCheck from './DeviceHealthCheck'
|
||||
|
||||
const meta: Meta = {
|
||||
title: 'Pages/DeviceHealthCheck',
|
||||
component: DeviceHealthCheck,
|
||||
decorators: [],
|
||||
decorators: [withRouter()],
|
||||
tags: ['autodocs'],
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue