From 12b7d705f7a8a2822c1b733a5dd40f4a82266841 Mon Sep 17 00:00:00 2001 From: Nulo Date: Thu, 7 Dec 2023 18:39:52 -0300 Subject: [PATCH] schema: homepage es opcional --- frontend/src/lib/schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/schema.ts b/frontend/src/lib/schema.ts index 308dd7c..638b884 100644 --- a/frontend/src/lib/schema.ts +++ b/frontend/src/lib/schema.ts @@ -23,7 +23,7 @@ export const zDataset = z.object({ export const zData = z.object({ title: z.string(), description: z.string(), - homepage: z.string(), + homepage: z.string().optional(), dataset: z.array(zDataset), });