From 3792920b1bebd04fc7a4671765d6a889cb18c4dc Mon Sep 17 00:00:00 2001 From: Christopher Bisset Date: Tue, 13 Sep 2022 18:34:10 +1000 Subject: [PATCH] fix issue with updated sveltekit settings --- src/routes/+layout.js | 1 + src/routes/+layout.svelte | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 src/routes/+layout.js diff --git a/src/routes/+layout.js b/src/routes/+layout.js new file mode 100644 index 0000000..c8cacf0 --- /dev/null +++ b/src/routes/+layout.js @@ -0,0 +1 @@ +export const prerender = true; \ No newline at end of file diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 42a4e63..343db90 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -4,7 +4,6 @@ import Alert from '$lib/common/Alert.svelte'; import Stores from '$lib/common/Stores.svelte'; import { themeStore } from '$lib/common/stores.js' - export const prerender = true; // NOTE: the element that is using one of the theme attributes must be in the DOM on mount