Skip to content

Commit

Permalink
#12: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo Y. Li committed Apr 18, 2019
1 parent 507d435 commit 24bd87f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/addon-contexts/src/libs/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const mergeSettings: MergeSettings = (
icon: icon,
title: title,
components: components,
params: !(params.length || storyParams.length)
params: !!(params.length || storyParams.length)
? params.concat(storyParams)
: [{ name: '', props: {} }],
options: Object.assign(
Expand Down

0 comments on commit 24bd87f

Please sign in to comment.