diff --git a/web/src/lib/components/repo/SubscribeButton.stories.svelte b/web/src/lib/components/repo/SubscribeButton.stories.svelte new file mode 100644 index 000000000..7be62d01c --- /dev/null +++ b/web/src/lib/components/repo/SubscribeButton.stories.svelte @@ -0,0 +1,234 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/src/lib/components/repo/SubscribeButton.svelte b/web/src/lib/components/repo/SubscribeButton.svelte index f843a767a..da71f5908 100644 --- a/web/src/lib/components/repo/SubscribeButton.svelte +++ b/web/src/lib/components/repo/SubscribeButton.svelte @@ -1,15 +1,15 @@ {#if signedIn} - - {#if loading} - + + {:else} + - {/if} - - {#if error} - {error} + {/if} {:else}