Skip to content

Commit 82c6a4c

Browse files
Julien Bouquillongarronej
andauthored
Update stories/getStory.tsx
Co-authored-by: Joseph Garrone <joseph.garrone.gj@gmail.com> Signed-off-by: Julien Bouquillon <contact@revolunet.com>
1 parent 2542632 commit 82c6a4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stories/getStory.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export function getStoryFactory<Props extends Record<string, any>>(params: {
102102

103103
out.args = {
104104
"darkMode": window.matchMedia("(prefers-color-scheme: dark)").matches,
105-
"containerWidth": containerWidth ?? defaultContainerWidth ?? 0,
105+
"containerWidth": defaultContainerWidthStoryLevel ?? defaultContainerWidth ?? 0,
106106
"lang": "fr",
107107
isFirstStory,
108108
...props

0 commit comments

Comments
 (0)