fix(device-health-check-story): add router decorator

This commit is contained in:
RadoslavDimchev 2024-03-20 19:15:35 +02:00 committed by Radoslav Dimchev
parent 47b5d54ae9
commit 91cda02341
1 changed files with 2 additions and 1 deletions

View File

@ -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'],
}