From f9e8d95b25c810d047f53bd6217af3b24cd1d773 Mon Sep 17 00:00:00 2001 From: Pontus Dreij Date: Thu, 26 Sep 2024 12:12:17 +0200 Subject: [PATCH] feat(sw-217): removed optional --- server/routers/contentstack/schemas/blocks/cardsGrid.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/routers/contentstack/schemas/blocks/cardsGrid.ts b/server/routers/contentstack/schemas/blocks/cardsGrid.ts index a73eac737..5f1b9af5c 100644 --- a/server/routers/contentstack/schemas/blocks/cardsGrid.ts +++ b/server/routers/contentstack/schemas/blocks/cardsGrid.ts @@ -48,7 +48,7 @@ export const teaserCardBlockSchema = z.object({ secondary_button: buttonSchema, has_primary_button: z.boolean().default(false), has_secondary_button: z.boolean().default(false), - has_sidepeek_button: z.boolean().optional().default(false), + has_sidepeek_button: z.boolean().default(false), side_peek_button: z .object({ title: z.string().optional().default(""),