Skip to content

Commit

Permalink
Avoid duplicated default exports when setting up chakra-ui
Browse files Browse the repository at this point in the history
See redwoodjs#11869 (comment)
for explanation.
  • Loading branch information
Philzen committed Dec 29, 2024
1 parent 3782db3 commit e7c3799
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const globalTypes: GlobalTypes = {}

/**
* An example, no-op storybook decorator. Use a function like this to create decorators.
* @see {@link https://storybook.js.org/docs/7/essentials/toolbars-and-globals#create-a-decorator | Create a decorator}
* @see {@link https://storybook.js.org/docs/7/essentials/toolbars-and-globals#create-a-decorator | Create a decorator}
*/
const _exampleDecorator = (StoryFn: StoryFn, _context: StoryContext) => (
<StoryFn />
Expand All @@ -17,5 +17,3 @@ const _exampleDecorator = (StoryFn: StoryFn, _context: StoryContext) => (
const preview: Preview = {
decorators: [],
}

export default preview

0 comments on commit e7c3799

Please sign in to comment.