From 6b41eafc55c107d97ed0d5af43e372cbb0e4c76c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Doma=C5=84ski?= Date: Fri, 3 Apr 2026 20:26:31 +0200 Subject: [PATCH] pwa fixes --- src/app.html | 27 +++++++++++++++++++++++++++ src/routes/(app)/+layout.svelte | 7 +++---- vite.config.ts | 1 + 3 files changed, 31 insertions(+), 4 deletions(-) diff --git a/src/app.html b/src/app.html index 812f8a7..1e1c03f 100644 --- a/src/app.html +++ b/src/app.html @@ -19,6 +19,33 @@ Fooder %sveltekit.head% +
%sveltekit.body%
diff --git a/src/routes/(app)/+layout.svelte b/src/routes/(app)/+layout.svelte index 6fe0d07..5418be6 100644 --- a/src/routes/(app)/+layout.svelte +++ b/src/routes/(app)/+layout.svelte @@ -3,8 +3,7 @@ import { auth } from '$lib/auth/store.svelte'; import { logout } from '$lib/api/auth'; import { useQueryClient } from '@tanstack/svelte-query'; - import { today } from '$lib/utils/date'; - import { page } from '$app/state'; +import { page } from '$app/state'; import { onMount } from 'svelte'; import { network } from '$lib/offline/network.svelte'; import { syncOfflineQueue } from '$lib/offline/sync'; @@ -80,7 +79,7 @@