Skip to content

Commit 8f2f2ac

Browse files
authored
Fix error during React Fast Refresh in storybook (#3811)
1 parent bfce84f commit 8f2f2ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.storybook/preview.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ export const parameters = {
1818
};
1919

2020
export const decorators = [
21-
story => (
21+
Story => (
2222
<VerticalCenter style={{alignItems: 'center', minHeight: '100vh', boxSizing: 'border-box', display: 'flex', justifyContent: 'center'}}>
23-
{story()}
23+
<Story />
2424
</VerticalCenter>
2525
),
2626
withProviderSwitcher

0 commit comments

Comments
 (0)