aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2023-09-14 13:46:22 -0500
committerMatt Strapp <matt@mattstrapp.net>2023-09-14 14:19:35 -0500
commiteb90676ee4668c9d91b698242266a1b4c8a08de6 (patch)
tree9a9162c02269bd6b412803a4a793fbbf0fda5fa1
parentFix sourcemaps + typing (diff)
downloadtrinkets-eb90676ee4668c9d91b698242266a1b4c8a08de6.tar
trinkets-eb90676ee4668c9d91b698242266a1b4c8a08de6.tar.gz
trinkets-eb90676ee4668c9d91b698242266a1b4c8a08de6.tar.bz2
trinkets-eb90676ee4668c9d91b698242266a1b4c8a08de6.tar.lz
trinkets-eb90676ee4668c9d91b698242266a1b4c8a08de6.tar.xz
trinkets-eb90676ee4668c9d91b698242266a1b4c8a08de6.tar.zst
trinkets-eb90676ee4668c9d91b698242266a1b4c8a08de6.zip
Comment out floatingUI
-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
//