style: fix prefer-const and prettier formatting issues
This commit is contained in:
@@ -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('');
|
||||
|
||||
Reference in New Issue
Block a user