Skip to content

Commit

Permalink
Improve "no story" warning
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold committed Oct 16, 2024
1 parent 4d1ba45 commit ff8a94d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/Story.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,6 @@
{:else if renderer.storyContext.component}
<renderer.storyContext.component {...renderer.args} />
{:else}
<p>Warning: no story rendered. improve this message</p>
<p>No story rendered. See <a href="https://github.com/storybookjs/addon-svelte-csf#defining-stories" target="_blank">the docs</a> on how to define stories.</p>
{/if}
{/if}

0 comments on commit ff8a94d

Please sign in to comment.