Skip to content

Commit

Permalink
fix coerce checking
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Aug 21, 2023
1 parent 7192433 commit c66cf40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/lib/core-events/src/errors/storybook-error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ export abstract class StorybookError extends Error {
page = this.documentation;
}

return this.template() + (page != null ? `\n\nMore info: ${page}` : '');
return this.template() + (page !== null ? `\n\nMore info: ${page}` : '');
}
}

0 comments on commit c66cf40

Please sign in to comment.