From 90c95bdbd2070c45bcfa0756acf51d5ac5c69c11 Mon Sep 17 00:00:00 2001 From: Jeremias Peier Date: Thu, 18 Apr 2024 14:33:28 +0200 Subject: [PATCH] fix: chromatic --- .storybook/preview.ts | 2 +- src/components/autocomplete/autocomplete.stories.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.storybook/preview.ts b/.storybook/preview.ts index 4f0a7f1eabc..1d4aedd2aea 100644 --- a/.storybook/preview.ts +++ b/.storybook/preview.ts @@ -73,7 +73,7 @@ export const parameters = { export const decorators: Decorator[] = [ (story, context: StoryContext) => isChromatic() && context.parameters.layout !== 'fullscreen' - ? html`
` + ? html`
${story()}
` : story(), withBackgroundDecorator, ]; diff --git a/src/components/autocomplete/autocomplete.stories.ts b/src/components/autocomplete/autocomplete.stories.ts index d008f333778..26274f1bb5d 100644 --- a/src/components/autocomplete/autocomplete.stories.ts +++ b/src/components/autocomplete/autocomplete.stories.ts @@ -505,7 +505,7 @@ export const MixedSingleOptionWithOptionGroupNegative: StoryObj = { const meta: Meta = { decorators: [ - (story) => (isChromatic() ? html`
${story()}
` : story()), + (story) => (isChromatic() ? html`
${story()}
` : story()), withActions as Decorator, ], parameters: {