fix: story decorators

This commit is contained in:
RadoslavDimchev 2023-09-07 12:05:30 +03:00
parent e77a129f71
commit ab44c83b12
3 changed files with 3 additions and 4 deletions

View File

@ -10,7 +10,7 @@ const meta = {
layout: 'centered',
},
tags: ['autodocs'],
decorators: [withRouter()],
decorators: [withRouter],
}
export default meta
type Story = StoryObj<typeof meta>

View File

@ -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

View File

@ -10,7 +10,7 @@ const meta = {
layout: 'centered',
},
tags: ['autodocs'],
decorators: [withRouter()],
decorators: [withRouter],
} satisfies Meta<typeof PairedDeviceCard>
export default meta