style: fix prefer-const and prettier formatting issues
This commit is contained in:
@@ -36,9 +36,9 @@
|
||||
is_active: true,
|
||||
minimum_age_required: 0
|
||||
});
|
||||
let editingService = $state<Service | null>(null);
|
||||
const editingService = $state<Service | null>(null);
|
||||
let servicesLoading = $state(true);
|
||||
let servicesUpdating = $state<Record<string, boolean>>({});
|
||||
const servicesUpdating = $state<Record<string, boolean>>({});
|
||||
let showServiceModal = $state(false);
|
||||
let creatingService = $state(false);
|
||||
let serviceErrors = $state<Record<string, string>>({});
|
||||
@@ -129,7 +129,7 @@
|
||||
);
|
||||
}
|
||||
|
||||
let isFormValid = $derived(
|
||||
const isFormValid = $derived(
|
||||
newService.name !== '' &&
|
||||
!serviceErrors.name &&
|
||||
!serviceErrors.price &&
|
||||
|
||||
Reference in New Issue
Block a user