Skip to content

Commit

Permalink
fix: sb5 glob options compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Nov 24, 2020
1 parent 9d70c7f commit 5d0ed71
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion integrations/storybook/src/docs-page/DocsContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ export const PageContextContainer: FC = ({ children }) => {
docId={docId}
options={{
...globOptions,
parameters: { ...globOptions.parameters, ...parameters },
parameters: globOptions.parameters
? { ...globOptions.parameters, ...parameters }
: parameters,
}}
>
<BlockPageContainer variant="pagecontainer.storybook">
Expand Down

0 comments on commit 5d0ed71

Please sign in to comment.