feat(SW-543): update footnote

This commit is contained in:
Fredrik Thorsson
2025-01-08 11:28:05 +01:00
parent 034fff59bd
commit 2f8e1b6c79
4 changed files with 7 additions and 9 deletions

View File

@@ -22,7 +22,7 @@ export const contactSchema = z.object({
contact: z.object({
contact_field: z.string(),
display_text: z.string().optional().nullable().default(null),
phone_footnote: z.string().optional().nullable(),
footnote: z.string().optional().nullable(),
}),
})
.transform((data) => {
@@ -31,7 +31,7 @@ export const contactSchema = z.object({
typename: data.typename,
contact_field: data.contact.contact_field,
display_text: data.contact.display_text,
phoneFootnote: data.contact.phone_footnote,
footnote: data.contact.footnote,
}
})
),