From 8a635a8e5bf8d23994d30d7d90b0318c27246a5d Mon Sep 17 00:00:00 2001
From: Matt Strapp <matt@mattstrapp.net>
Date: Fri, 5 Apr 2024 16:56:02 -0500
Subject: Lint

Signed-off-by: Matt Strapp <matt@mattstrapp.net>
---
 clients/www/src/lib/components/ReloadPrompt.svelte | 56 +++++++++++-----------
 1 file changed, 28 insertions(+), 28 deletions(-)

(limited to 'clients/www/src/lib/components/ReloadPrompt.svelte')

diff --git a/clients/www/src/lib/components/ReloadPrompt.svelte b/clients/www/src/lib/components/ReloadPrompt.svelte
index e6effbb..6c778b6 100644
--- a/clients/www/src/lib/components/ReloadPrompt.svelte
+++ b/clients/www/src/lib/components/ReloadPrompt.svelte
@@ -1,32 +1,32 @@
 <script lang="ts">
-  import { getToastStore } from '@skeletonlabs/skeleton'
-  import { useRegisterSW } from 'virtual:pwa-register/svelte'
+	import { getToastStore } from '@skeletonlabs/skeleton';
+	import { useRegisterSW } from 'virtual:pwa-register/svelte';
 
-  const toastStore = getToastStore()
+	const toastStore = getToastStore();
 
-  const { updateServiceWorker } = useRegisterSW({
-    onRegisteredSW(r) {
-      console.log('SW Registered: ', r)
-    },
-    onNeedRefresh() {
-      toastStore.trigger({
-        message: 'A new version of the application is available.',
-        autohide: false,
-        action: {
-          label: 'Refresh',
-          response: updateServiceWorker,
-        },
-      })
-    },
-    onOfflineReady() {
-      toastStore.trigger({
-        background: 'variant-filled-success',
-        message: 'Now ready for offline use!',
-        timeout: 5000,
-      })
-    },
-    onRegisterError(err) {
-      console.error('SW Registration Error: ', err)
-    },
-  })
+	const { updateServiceWorker } = useRegisterSW({
+		onRegisteredSW(r) {
+			console.log('SW Registered: ', r);
+		},
+		onNeedRefresh() {
+			toastStore.trigger({
+				message: 'A new version of the application is available.',
+				autohide: false,
+				action: {
+					label: 'Refresh',
+					response: updateServiceWorker
+				}
+			});
+		},
+		onOfflineReady() {
+			toastStore.trigger({
+				background: 'variant-filled-success',
+				message: 'Now ready for offline use!',
+				timeout: 5000
+			});
+		},
+		onRegisterError(err) {
+			console.error('SW Registration Error: ', err);
+		}
+	});
 </script>
-- 
cgit v1.2.3

