diff --git a/src/pages/DeviceHealthCheck/DeviceHealthCheck.stories.tsx b/src/pages/DeviceHealthCheck/DeviceHealthCheck.stories.tsx index 46841e19..0484aa93 100644 --- a/src/pages/DeviceHealthCheck/DeviceHealthCheck.stories.tsx +++ b/src/pages/DeviceHealthCheck/DeviceHealthCheck.stories.tsx @@ -1,11 +1,12 @@ import type { Meta, StoryObj } from '@storybook/react' import DeviceHealthCheck from './DeviceHealthCheck' +import { withRouter } from 'storybook-addon-react-router-v6' const meta: Meta = { title: 'Pages/DeviceHealthCheck', component: DeviceHealthCheck, - decorators: [], + decorators: [withRouter], tags: ['autodocs'], }