Merged in fix/BOOK-381-top-primary-button-schema (pull request #2865)

fix(BOOK-381): Added nullish() to top primary button to avoid schema failures

* fix(BOOK-381): Added nullish() to top primary button to avoid schema failures


Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
This commit is contained in:
Erik Tiekstra
2025-09-26 10:15:55 +00:00
committed by Linus Flood
parent 7f3fd0c7a6
commit f2a5fc03c2
2 changed files with 2 additions and 2 deletions

View File

@@ -83,7 +83,7 @@ export const collectionPageSchema = z.object({
header: z.object({
heading: z.string(),
preamble: z.string(),
top_primary_button: internalOrExternalLinkSchema,
top_primary_button: internalOrExternalLinkSchema.nullish(),
navigation_links: navigationLinksSchema,
}),
meeting_package: z