Skip to content

Commit

Permalink
Merge pull request #16783 from storybookjs/remove-missing-console-error
Browse files Browse the repository at this point in the history
Core: Don't log a console error when the story is missing
  • Loading branch information
shilman committed Nov 26, 2021
2 parents 1799997 + 89c38f7 commit 8b4b8fc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/preview-web/src/PreviewWeb.tsx
Expand Up @@ -729,7 +729,6 @@ export class PreviewWeb<TFramework extends AnyFramework> {
}

renderMissingStory() {
logger.error(`No story selected`);
this.view.showNoPreview();
this.channel.emit(Events.STORY_MISSING);
}
Expand Down

0 comments on commit 8b4b8fc

Please sign in to comment.