style: fix prettier formatting in 3 files
This commit is contained in:
@@ -148,7 +148,7 @@
|
|||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
function toggleCustomForm(show: boolean) {
|
function toggleCustomForm(show: boolean) {
|
||||||
showCustomCreateForm = show;
|
showCustomCreateForm = show;
|
||||||
if (show) {
|
if (show) {
|
||||||
newCustomService = {
|
newCustomService = {
|
||||||
|
|||||||
@@ -156,7 +156,7 @@
|
|||||||
name: group.name,
|
name: group.name,
|
||||||
description: group.description,
|
description: group.description,
|
||||||
weekStarts: group.weekStarts || [],
|
weekStarts: group.weekStarts || [],
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
hours:
|
hours:
|
||||||
(group.hours as any[])?.map(
|
(group.hours as any[])?.map(
|
||||||
(h: {
|
(h: {
|
||||||
|
|||||||
@@ -733,13 +733,13 @@
|
|||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
// Phone validation (UK format)
|
// Phone validation (UK format)
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
function validatePhone(phone: string): boolean {
|
function validatePhone(phone: string): boolean {
|
||||||
return isValidUKPhone(phone);
|
return isValidUKPhone(phone);
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
}
|
}
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
function formatPhoneInput(value: string): string {
|
function formatPhoneInput(value: string): string {
|
||||||
return formatPhoneDisplay(value);
|
return formatPhoneDisplay(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user