From eb90676ee4668c9d91b698242266a1b4c8a08de6 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Thu, 14 Sep 2023 13:46:22 -0500 Subject: Comment out floatingUI --- app/src/routes/+layout.svelte | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'app/src/routes/+layout.svelte') 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() { -- cgit v1.2.3