Skip to content

Commit

Permalink
indicate loading
Browse files Browse the repository at this point in the history
  • Loading branch information
jupekett committed Mar 15, 2023
1 parent 3366cef commit 19285dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/routes/Blog.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@

<main class="content--blog">
<h1>Some thoughts</h1>
{#await importPosts() then posts}
{#await importPosts()}
<p class="centered-vertical">Loading posts...</p>
{:then posts}
{#if posts.length < 1}
<p>Couldn't load posts. Bummer!</p>
{/if}
Expand Down

0 comments on commit 19285dd

Please sign in to comment.