diff options
Diffstat (limited to 'src/components/organisms/toolbar/main-nav.stories.tsx')
| -rw-r--r-- | src/components/organisms/toolbar/main-nav.stories.tsx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/components/organisms/toolbar/main-nav.stories.tsx b/src/components/organisms/toolbar/main-nav.stories.tsx index 04b22cb..831636f 100644 --- a/src/components/organisms/toolbar/main-nav.stories.tsx +++ b/src/components/organisms/toolbar/main-nav.stories.tsx @@ -1,6 +1,5 @@ import { ComponentMeta, ComponentStory } from '@storybook/react'; import { useState } from 'react'; -import { IntlProvider } from 'react-intl'; import MainNav from './main-nav'; /** @@ -46,19 +45,15 @@ export default { type: null, }, description: 'A callback function to change main nav state.', + table: { + category: 'Events', + }, type: { name: 'function', required: true, }, }, }, - decorators: [ - (Story) => ( - <IntlProvider locale="en"> - <Story /> - </IntlProvider> - ), - ], } as ComponentMeta<typeof MainNav>; const Template: ComponentStory<typeof MainNav> = ({ |
