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:
committed by
Linus Flood
parent
7f3fd0c7a6
commit
f2a5fc03c2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user