Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Svelte - Fix async loaders and docs"
This reverts commit 5c1e2b4.
- Loading branch information
Showing
4 changed files
with
12 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
<script> | ||
export let storyContext; | ||
export let unboundStoryFn; | ||
let { Component: component, props } = unboundStoryFn(storyContext); | ||
export let storyFn; | ||
let { Component: component, props } = storyFn(); | ||
</script> | ||
|
||
<svelte:component this={component} {...props}/> | ||
<svelte:component this={component} {...props}/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
examples/svelte-kitchen-sink/src/stories/__snapshots__/loaders.stories.storyshot
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
examples/svelte-kitchen-sink/src/stories/loaders.stories.js
This file was deleted.
Oops, something went wrong.