Feat/SW-2272 campaign cards block
Approved-by: Matilda Landström
This commit is contained in:
@@ -12,7 +12,7 @@ import { BlocksEnums } from "@/types/enums/blocks"
|
||||
|
||||
const commonFields = {
|
||||
heading: z.string().optional(),
|
||||
link: buttonSchema.optional(),
|
||||
link: buttonSchema.nullish(),
|
||||
} as const
|
||||
|
||||
const carouselCardGroupsFilteredSchema = z
|
||||
@@ -150,6 +150,6 @@ export const carouselCardsRefsSchema = z.object({
|
||||
}),
|
||||
})
|
||||
),
|
||||
link: linkConnectionRefsSchema.optional(),
|
||||
link: linkConnectionRefsSchema.nullish(),
|
||||
}),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user