mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 03:41:06 +08:00
Refactor StoryFn rendering in Storybook preview to use self-closing tag for improved readability.
This commit is contained in:
parent
9a9df8b480
commit
36bb796cf6
@ -280,7 +280,7 @@ const decorators = [
|
||||
<div style={{ marginBottom: 20 }} />
|
||||
</>
|
||||
)}
|
||||
{StoryFn()}
|
||||
<StoryFn />
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user