From 56fe48cd7f7a9002fc947c8293b85e0ca0dbb3a9 Mon Sep 17 00:00:00 2001 From: zhwltlr Date: Sat, 27 Dec 2025 23:23:43 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix=20:=20Chromatic=20=EB=B6=88=EC=95=88?= =?UTF-8?q?=EC=A0=95=20=EC=8A=A4=EB=83=85=EC=83=B7=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/stories/HomeHeroSection.stories.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/stories/HomeHeroSection.stories.tsx b/frontend/src/stories/HomeHeroSection.stories.tsx index a35ca9f9..56056599 100644 --- a/frontend/src/stories/HomeHeroSection.stories.tsx +++ b/frontend/src/stories/HomeHeroSection.stories.tsx @@ -49,6 +49,9 @@ export const Loading: Story = { "I'm selling a MacBook Pro 2021 for $1,200. Contact me at email@example.com", isLoading: true, }, + parameters: { + chromatic: { disableSnapshot: true }, + }, }; export const WithError: Story = { From ef1e1d4876acf56070b5aea636364da3d84aebe4 Mon Sep 17 00:00:00 2001 From: zhwltlr Date: Sun, 28 Dec 2025 00:08:30 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix=20:=20=EB=8D=B0=EC=BD=94=EB=A0=88?= =?UTF-8?q?=EC=9D=B4=ED=84=B0=EB=A5=BC=20=EC=B6=94=EA=B0=80=ED=95=98?= =?UTF-8?q?=EC=97=AC=20=EC=8A=A4=EB=83=85=EC=83=B7=20=EC=95=88=EC=A0=95?= =?UTF-8?q?=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/stories/HomeHeroSection.stories.tsx | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/frontend/src/stories/HomeHeroSection.stories.tsx b/frontend/src/stories/HomeHeroSection.stories.tsx index 56056599..ce8eac5e 100644 --- a/frontend/src/stories/HomeHeroSection.stories.tsx +++ b/frontend/src/stories/HomeHeroSection.stories.tsx @@ -1,5 +1,6 @@ import type { Meta, StoryObj } from "@storybook/react"; import { fn } from "@storybook/test"; +import isChromatic from "chromatic/isChromatic"; import { HomeHeroSection } from "../components/HomeHeroSection"; @@ -49,9 +50,16 @@ export const Loading: Story = { "I'm selling a MacBook Pro 2021 for $1,200. Contact me at email@example.com", isLoading: true, }, - parameters: { - chromatic: { disableSnapshot: true }, - }, + decorators: [ + (Story) => ( + <> + {isChromatic() && ( + + )} + + + ), + ], }; export const WithError: Story = {