style: fix prefer-const and prettier formatting issues
Backend CI / Tests (push) Failing after 1m41s
Backend CI / Lint & vulns (push) Failing after 2m26s
Backend CI / Race detector (push) Failing after 3m45s

This commit is contained in:
2026-06-25 13:48:03 +01:00
parent e0236144c7
commit 4af2b8dfb4
64 changed files with 234 additions and 229 deletions
@@ -18,7 +18,7 @@
openUserModal: (userId: string) => void;
}
let { _openBookingModal, openEditBookingModal, openUserModal }: Props = $props();
const { _openBookingModal, openEditBookingModal, openUserModal }: Props = $props();
type Booking = {
id: string;
@@ -90,7 +90,7 @@
let weekSummary = $state<DailySummary | null>(null);
// VAT registration status from public business info (via shared store)
let vatRegistered = $derived(getBusinessInfo()?.is_vat_registered ?? false);
const vatRegistered = $derived(getBusinessInfo()?.is_vat_registered ?? false);
// Data diffing — only update UI when payload actually changes
let prevDataJson = $state('');