mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-09 00:19:13 +08:00
Fix typescript check
This commit is contained in:
parent
7f9a5c431f
commit
a253ecbe3f
@ -45,7 +45,7 @@ export const DocsContainer: React.FunctionComponent<DocsContainerProps> = ({
|
||||
context,
|
||||
children,
|
||||
}) => {
|
||||
const { id: storyId, parameters = {} } = context || {};
|
||||
const { id: storyId = null, parameters = {} } = context || {};
|
||||
const options = parameters.options || {};
|
||||
const theme = ensureTheme(options.theme);
|
||||
const { components: userComponents = null } = parameters.docs || {};
|
||||
|
Loading…
x
Reference in New Issue
Block a user