diff --git a/src/lib/components/Article.svelte b/src/lib/components/Article.svelte index bd4557d..ad11409 100644 --- a/src/lib/components/Article.svelte +++ b/src/lib/components/Article.svelte @@ -7,7 +7,7 @@ import { BookOutline, ExclamationCircleOutline } from 'flowbite-svelte-icons'; import Pharos, { parser } from '$lib/parser'; import Preview from './Preview.svelte'; - import { goto, invalidateAll } from '$app/navigation'; + import { goto, invalidateAll } from '$app/navigation'; export let index: NDKEvent | null | undefined; @@ -101,7 +101,7 @@ - + {:then rootId} {#if rootId} {#if showTocButton && !showToc} diff --git a/src/lib/components/Preview.svelte b/src/lib/components/Preview.svelte index 47a30e8..f555022 100644 --- a/src/lib/components/Preview.svelte +++ b/src/lib/components/Preview.svelte @@ -172,7 +172,6 @@ type='submit' class='btn-leather min-w-fit' size='sm' - solid on:click={() => toggleEditing(rootId, true)} > Save diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 394f4cf..a5e7f1e 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -92,7 +92,7 @@ {#if user == null || readRelays == null} {#await getEvents()} {#each getSkeletonIds() as id} - + {/each} {:then events} {#if events.size > 0} @@ -120,7 +120,7 @@ {#if feedType === FeedType.Relays && readRelays != null} {#await getEventsFromUserRelays(readRelays)} {#each getSkeletonIds() as id} - + {/each} {:then events} {#if events.size > 0} @@ -134,7 +134,7 @@ {:else if feedType === FeedType.Follows && userFollows != null} {#await getEventsFromUserFollows(userFollows, readRelays)} {#each getSkeletonIds() as id} - + {/each} {:then events} {#if events.size > 0}