From 90efaead0637ceadfa2f2c1bdffc2e900afcf9d1 Mon Sep 17 00:00:00 2001 From: Akis Date: Thu, 10 Nov 2022 17:07:14 +0200 Subject: [PATCH] fix --- src/routes/+layout.ts | 1 - src/routes/+page.svelte | 6 +++++- 2 files changed, 5 insertions(+), 2 deletions(-) delete mode 100644 src/routes/+layout.ts diff --git a/src/routes/+layout.ts b/src/routes/+layout.ts deleted file mode 100644 index 189f71e..0000000 --- a/src/routes/+layout.ts +++ /dev/null @@ -1 +0,0 @@ -export const prerender = true; diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 6e08e6a..c223898 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -36,7 +36,10 @@ {#if data.state.enabled} -
+ {#if announcements.error} + + {:else} +
@@ -124,6 +127,7 @@ @apply flex justify-center text-center text-red; } + {/if} {:else}