Skip to content

Commit

Permalink
Don't log a console error when the story is missing.
Browse files Browse the repository at this point in the history
It doesn't really add anything and it trips up tools like storyshots.
  • Loading branch information
tmeasday committed Nov 25, 2021
1 parent ca6a34d commit 89c38f7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/preview-web/src/PreviewWeb.tsx
Original file line number Diff line number Diff line change
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 89c38f7

Please sign in to comment.