style: apply prettier formatting to frontend
This commit is contained in:
@@ -676,9 +676,7 @@
|
||||
const startTimeISO = formatLocalDateTime(localDate);
|
||||
|
||||
const serviceIds = selectedServices.filter((s) => !s.is_custom).map((s) => s.id);
|
||||
const customServiceIds = selectedServices
|
||||
.filter((s) => s.is_custom)
|
||||
.map((s) => s.id);
|
||||
const customServiceIds = selectedServices.filter((s) => s.is_custom).map((s) => s.id);
|
||||
|
||||
// Build service overrides payload
|
||||
const overrides = [];
|
||||
@@ -1007,7 +1005,13 @@
|
||||
start_time: string;
|
||||
service_ids: string[];
|
||||
custom_service_ids: string[];
|
||||
service_overrides: Array<{ service_id: string; override_price: number | null; override_duration_minutes: number | null }> | undefined;
|
||||
service_overrides:
|
||||
| Array<{
|
||||
service_id: string;
|
||||
override_price: number | null;
|
||||
override_duration_minutes: number | null;
|
||||
}>
|
||||
| undefined;
|
||||
notes: string | null;
|
||||
out_of_hours: boolean;
|
||||
} = {
|
||||
@@ -1657,7 +1661,9 @@
|
||||
></path>
|
||||
</svg>
|
||||
<span class="text-sm font-medium text-green-800">
|
||||
Slot reserved until {parseWallClockDate(reservationExpiresAt.toISOString()).toLocaleTimeString([], {
|
||||
Slot reserved until {parseWallClockDate(
|
||||
reservationExpiresAt.toISOString()
|
||||
).toLocaleTimeString([], {
|
||||
hour: '2-digit',
|
||||
minute: '2-digit'
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user