diff --git a/web/App.svelte b/web/App.svelte
index e1f9b1c..61c5b7b 100644
--- a/web/App.svelte
+++ b/web/App.svelte
@@ -1,18 +1,18 @@
- {#if component === null}
+ {#await getFileHeadAndComponent()}
Loading data...
- {:else}
- {#await component}
- Loading data...
- {:then v }
-
- {/await}
- {/if}
+ {:then v }
+
+ {/await}