Skip to content

Commit

Permalink
Merge branch 'master' into move-more-things-to-core
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-dv authored Jan 20, 2018
2 parents 01bed1c + 8ad831f commit ddbc05e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/angular/src/client/preview/angular/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const createComponentFromTemplate = (template: string): Function => {
const initModule = (
currentStory: IGetStoryWithContext,
context: IContext,
reRender: boolean
reRender: boolean = false,
): Function => {
const storyObj = currentStory(context);
const { component, template, props, moduleMetadata = {} } = storyObj;
Expand Down Expand Up @@ -131,7 +131,7 @@ export const renderNgError = debounce((error: Error) => {
const errorData = {
message: error.message,
stack: error.stack,
};
} as NgProvidedData;

const Module = getModule([ErrorComponent], [], [ErrorComponent], errorData, {});

Expand Down

0 comments on commit ddbc05e

Please sign in to comment.