fix: story decorators
This commit is contained in:
parent
e77a129f71
commit
ab44c83b12
|
@ -10,7 +10,7 @@ const meta = {
|
|||
layout: 'centered',
|
||||
},
|
||||
tags: ['autodocs'],
|
||||
decorators: [withRouter()],
|
||||
decorators: [withRouter],
|
||||
}
|
||||
export default meta
|
||||
type Story = StoryObj<typeof meta>
|
||||
|
|
|
@ -6,9 +6,8 @@ import { withRouter } from 'storybook-addon-react-router-v6'
|
|||
const meta = {
|
||||
title: 'ValidatorOnboarding/ExecClientCard',
|
||||
component: ExecClientCard,
|
||||
|
||||
tags: ['autodocs'],
|
||||
decorators: [withRouter()],
|
||||
decorators: [withRouter],
|
||||
} satisfies Meta<typeof ExecClientCard>
|
||||
|
||||
export default meta
|
||||
|
|
|
@ -10,7 +10,7 @@ const meta = {
|
|||
layout: 'centered',
|
||||
},
|
||||
tags: ['autodocs'],
|
||||
decorators: [withRouter()],
|
||||
decorators: [withRouter],
|
||||
} satisfies Meta<typeof PairedDeviceCard>
|
||||
|
||||
export default meta
|
||||
|
|
Loading…
Reference in New Issue