Skip to content

Commit

Permalink
fix: subComponentName
Browse files Browse the repository at this point in the history
  • Loading branch information
reme3d2y committed Mar 30, 2021
1 parent 471676f commit 8064ac6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/screenshot-utils/createStorybookUrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export type CreateSpriteStorybookUrlParams = {
export function createStorybookUrl({
url = STORYBOOK_URL,
componentName,
subComponentName,
subComponentName = '',
packageName = kebab(componentName),
testStory = true,
knobs = {},
Expand All @@ -53,7 +53,7 @@ export function createStorybookUrl({
export function createSpriteStorybookUrl({
url = STORYBOOK_URL,
componentName,
subComponentName,
subComponentName = '',
packageName = kebab(componentName),
knobs = {},
size,
Expand Down

0 comments on commit 8064ac6

Please sign in to comment.