aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/src/routes/+layout.svelte10
-rw-r--r--app/tsconfig.json2
2 files changed, 6 insertions, 6 deletions
diff --git a/app/src/routes/+layout.svelte b/app/src/routes/+layout.svelte
index 93a41b1..8a70575 100644
--- a/app/src/routes/+layout.svelte
+++ b/app/src/routes/+layout.svelte
@@ -7,18 +7,18 @@
import { AppShell, AppBar } from '@skeletonlabs/skeleton';
// Floating UI for Popups
- import { computePosition, autoUpdate, flip, shift, offset, arrow } from '@floating-ui/dom';
- import { storePopup } from '@skeletonlabs/skeleton';
- storePopup.set({ computePosition, autoUpdate, flip, shift, offset, arrow });
+ // import { computePosition, autoUpdate, flip, shift, offset, arrow } from '@floating-ui/dom';
+ // import { storePopup } from '@skeletonlabs/skeleton';
+ // storePopup.set({ computePosition, autoUpdate, flip, shift, offset, arrow });
onMount(async () => {
if (pwaInfo) {
registerSW({
immediate: true,
- onRegistered(r) {
+ onRegistered(r: ServiceWorkerRegistration) {
console.log(`SW Registered: ${r}`)
},
- onRegisterError(error) {
+ onRegisterError(error: Error) {
console.log('SW registration error', error)
},
onOfflineReady() {
diff --git a/app/tsconfig.json b/app/tsconfig.json
index 5e40601..dd9fd5d 100644
--- a/app/tsconfig.json
+++ b/app/tsconfig.json
@@ -9,7 +9,7 @@
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
- "types": ["vite-plugin-pwa/info", "vite-plugin-pwa/svelte"]
+ "types": ["vite-plugin-pwa/info", "vite-plugin-pwa"]
}
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
//