Skip to content

Commit

Permalink
fix: building param optional
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Oct 9, 2020
1 parent 110a9ca commit b3e02f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/core/src/document-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export const docStoryToId = (docId: string, storyId: string) =>
export const mapDynamicStories = (
story: Story,
doc: Document,
building: boolean,
building?: boolean,
): Story[] => {
if (story.dynamic && typeof story.renderFn === 'function') {
const stories = story.renderFn(doc);
Expand Down

0 comments on commit b3e02f1

Please sign in to comment.