mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
Fix broken build
This commit is contained in:
parent
a2fd9628c8
commit
b154897398
@ -134,7 +134,7 @@ const Story: FunctionComponent<StoryProps> = (props) => {
|
||||
cleanup = context.renderStoryToElement({
|
||||
story,
|
||||
renderContext,
|
||||
element: ref.current as Element,
|
||||
element: ref.current as HTMLElement,
|
||||
});
|
||||
}
|
||||
return () => cleanup && cleanup();
|
||||
|
Loading…
x
Reference in New Issue
Block a user