Skip to content

Commit 3748fe1

Browse files
committed
fix: HomeHero story
1 parent 2b3c5e9 commit 3748fe1

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

src/components/Hero/HomeHero/HomeHero.stories.tsx

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import { langViewportModes } from "@/storybook/modes"
44

55
import HomeHeroComponent from "."
66

7-
import homeHeroImg from "@/public/images/home/hero.png"
8-
97
const meta = {
108
title: "Organisms / Layouts / Hero",
119
component: HomeHeroComponent,
@@ -17,19 +15,10 @@ const meta = {
1715
},
1816
},
1917
},
20-
argTypes: {
21-
heroImg: {
22-
table: {
23-
disable: true,
24-
},
25-
},
26-
},
2718
} satisfies Meta<typeof HomeHeroComponent>
2819

2920
export default meta
3021

3122
export const HomeHero: StoryObj<typeof meta> = {
32-
args: {
33-
heroImg: homeHeroImg,
34-
},
23+
render: () => <HomeHeroComponent />,
3524
}

0 commit comments

Comments
 (0)