Skip to content

Commit

Permalink
fix: undefined theme variable
Browse files Browse the repository at this point in the history
  • Loading branch information
matheus1lva authored and tuchk4 committed May 29, 2020
1 parent e8ba121 commit 661face
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/storybook-readme/src/services/getParameters.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function getParameters(context) {
...config,
codeTheme,
theme: {
...parameters.options.theme,
...(parameters.options && parameters.options.theme ? parameters.options.theme : {}),
...config.theme,
},
};
Expand Down

0 comments on commit 661face

Please sign in to comment.