feat(SW-543): rename footnote

This commit is contained in:
Fredrik Thorsson
2025-01-10 13:27:16 +01:00
parent 2f8e1b6c79
commit 23ff0970e9
2 changed files with 3 additions and 3 deletions

View File

@@ -13,7 +13,7 @@
fragment ContactFields on ContactFields {
display_text
contact_field
footnote
contact_footnote
}
fragment JoinLoyaltyContactSidebar_ContentPage on ContentPageSidebarJoinLoyaltyContact {

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),
footnote: z.string().optional().nullable(),
contact_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,
footnote: data.contact.footnote,
footnote: data.contact.contact_footnote,
}
})
),