diff --git a/frontend/src/lib/components/admin/BookingCreateModal.svelte b/frontend/src/lib/components/admin/BookingCreateModal.svelte index 7aad3cd..4cc72a0 100644 --- a/frontend/src/lib/components/admin/BookingCreateModal.svelte +++ b/frontend/src/lib/components/admin/BookingCreateModal.svelte @@ -145,7 +145,6 @@ !customServiceErrors.duration_minutes && !customServiceErrors.minimum_age_required ); - function toggleCustomForm(show: boolean) { showCustomCreateForm = show; @@ -325,7 +324,6 @@ userType === 'member' ? !!selectedUserId : !!(guestName.trim() && guestPhone.trim() && isValidUKPhone(guestPhone)) - ); const canProceedStep2 = $derived(selectedServices.length > 0); const canProceedStep3 = $derived(true); // Overrides are optional diff --git a/frontend/src/lib/components/ui/map/MapPopup.svelte b/frontend/src/lib/components/ui/map/MapPopup.svelte index 808ae98..864a71b 100644 --- a/frontend/src/lib/components/ui/map/MapPopup.svelte +++ b/frontend/src/lib/components/ui/map/MapPopup.svelte @@ -48,7 +48,7 @@ let wrapperElement: HTMLDivElement | null = $state(null); // Create popup when map is ready - + $effect(() => { const map = mapCtx.getMap(); const loaded = mapCtx.isLoaded(); diff --git a/frontend/src/lib/components/ui/map/MarkerContent.svelte b/frontend/src/lib/components/ui/map/MarkerContent.svelte index 26469b6..1cb7b01 100644 --- a/frontend/src/lib/components/ui/map/MarkerContent.svelte +++ b/frontend/src/lib/components/ui/map/MarkerContent.svelte @@ -21,7 +21,7 @@ let movedContent: Node[] = []; // Move content to marker element when ready - + $effect(() => { const element = markerCtx.getElement(); const ready = markerCtx.isReady(); diff --git a/frontend/src/lib/components/ui/map/MarkerPopup.svelte b/frontend/src/lib/components/ui/map/MarkerPopup.svelte index cf6a5c5..a8c91d8 100644 --- a/frontend/src/lib/components/ui/map/MarkerPopup.svelte +++ b/frontend/src/lib/components/ui/map/MarkerPopup.svelte @@ -42,7 +42,7 @@ let shouldStayOpen = $state(false); // Create popup when marker is ready - + $effect(() => { const marker = markerCtx.getMarker(); const ready = markerCtx.isReady(); diff --git a/frontend/src/lib/components/ui/map/MarkerTooltip.svelte b/frontend/src/lib/components/ui/map/MarkerTooltip.svelte index 3397c53..e14a545 100644 --- a/frontend/src/lib/components/ui/map/MarkerTooltip.svelte +++ b/frontend/src/lib/components/ui/map/MarkerTooltip.svelte @@ -22,7 +22,7 @@ let wrapperElement: HTMLDivElement | null = $state(null); // Create tooltip popup when marker is ready - + $effect(() => { const marker = markerCtx.getMarker(); const markerElement = markerCtx.getElement(); diff --git a/frontend/src/lib/stores/auth.svelte.ts b/frontend/src/lib/stores/auth.svelte.ts index ffce833..03ee6fe 100644 --- a/frontend/src/lib/stores/auth.svelte.ts +++ b/frontend/src/lib/stores/auth.svelte.ts @@ -161,7 +161,7 @@ class AuthStore { method: 'POST', headers: { Authorization: `Bearer ${this.token}` } }); - // eslint-disable-next-line @typescript-eslint/no-unused-vars + // eslint-disable-next-line @typescript-eslint/no-unused-vars } catch (e) { // Ignore network errors - still clear local state } diff --git a/frontend/src/routes/account/+page.svelte b/frontend/src/routes/account/+page.svelte index 0473286..478fa9c 100644 --- a/frontend/src/routes/account/+page.svelte +++ b/frontend/src/routes/account/+page.svelte @@ -51,7 +51,7 @@ if (!authStore.isAuthenticated) { pageState = 'unauthorized'; - // eslint-disable-next-line svelte/no-navigation-without-resolve + // eslint-disable-next-line svelte/no-navigation-without-resolve goto('/login', { replaceState: true }); return; } @@ -734,7 +734,7 @@ // Phone validation (UK format) function validatePhone(phone: string): boolean { return isValidUKPhone(phone); - // eslint-disable-next-line @typescript-eslint/no-unused-vars + // eslint-disable-next-line @typescript-eslint/no-unused-vars } function formatPhoneInput(value: string): string { @@ -1237,7 +1237,7 @@ if (response.ok) { toast.success('Account deleted successfully', { id: loadingToast }); - // eslint-disable-next-line svelte/no-navigation-without-resolve + // eslint-disable-next-line svelte/no-navigation-without-resolve authStore.logout(); goto('/'); } else { @@ -2599,7 +2599,7 @@
- + View and export all personal data we hold about you