fix(validator-request): add with router decorator

This commit is contained in:
RadoslavDimchev 2024-03-25 22:49:21 +02:00 committed by Emil Ivanichkov
parent d71ee51164
commit 0b8148efcb
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
import type { Meta, StoryObj } from '@storybook/react'
import ValidatorRequest from './ValidatorRequest'
import { withRouter } from 'storybook-addon-react-router-v6'
const meta = {
title: 'ValidatorOnboarding/ValidatorRequest',
@ -8,6 +9,7 @@ const meta = {
parameters: {
layout: 'centered',
},
decorators: [withRouter()],
tags: ['autodocs'],
} satisfies Meta<typeof ValidatorRequest>