fix: remove unused variables from Svelte components

This commit is contained in:
2026-07-10 11:58:42 +01:00
parent 895d7f0df9
commit eed8814021
30 changed files with 313 additions and 272 deletions
@@ -13,12 +13,11 @@
import type { Booking as BookingType } from '$lib/types/booking';
interface Props {
_openBookingModal: (bookingId: string) => void;
openEditBookingModal: (bookingId: string, nextAppointmentStart?: string | null) => void;
openUserModal: (userId: string) => void;
}
const { _openBookingModal, openEditBookingModal, openUserModal }: Props = $props();
const { openEditBookingModal, openUserModal }: Props = $props();
type Booking = {
id: string;
@@ -270,7 +269,7 @@
showPaymentModal = true;
}
function handlePaymentComplete(_payment: unknown) {
function handlePaymentComplete() {
toast.success('Payment completed');
showPaymentModal = false;
}