Skip to content

Commit 64d92fd

Browse files
committed
Improve storybook formating
1 parent 58b4233 commit 64d92fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stories/getStory.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,12 @@ export function getStoryFactory<Props extends Record<string, any>>(params: {
151151
: [
152152
`\`\`\`tsx `,
153153
` `,
154-
`import { ${componentName} } from "@codegouvfr/react-dsfr/${componentName}"\``,
154+
`import { ${componentName} } from "@codegouvfr/react-dsfr/${componentName}";`,
155155
` `,
156156
`\`\`\``
157157
]),
158158
...(description === undefined ? [] : [description])
159-
].join(" \n")
159+
].join("\n")
160160
}
161161
},
162162
"viewMode": "docs"

0 commit comments

Comments
 (0)