fix(management-tabs-story): missing router decorator
This commit is contained in:
parent
e925d7c8bb
commit
8f112acdb0
|
@ -1,10 +1,12 @@
|
||||||
import type { Meta, StoryObj } from '@storybook/react'
|
import type { Meta, StoryObj } from '@storybook/react'
|
||||||
|
import { withRouter } from 'storybook-addon-react-router-v6'
|
||||||
|
|
||||||
import ManagementTabs from './ManagementTabs'
|
import ManagementTabs from './ManagementTabs'
|
||||||
|
|
||||||
const meta = {
|
const meta = {
|
||||||
title: 'ValidatorManagement/ManagementTabs',
|
title: 'ValidatorManagement/ManagementTabs',
|
||||||
component: ManagementTabs,
|
component: ManagementTabs,
|
||||||
|
decorators: [withRouter()],
|
||||||
parameters: {
|
parameters: {
|
||||||
layout: 'centered',
|
layout: 'centered',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue